Use of generic Field type is misleading #56
-
Currently Field type does not define FT entry, meaning that it is probably used as a non-terminal node in the fields tree. However, it is also commonly used a type of a link for P (parent) keys in annotations and terminal fields. As currently Arlington model is not really object-oriented, there is no mechanism to say that a link to a Field has to be replaced by a one of the strongly typed Field types such as FieldChoice or others. I would suggest specifying all possible field types instead of just one Field as it is now, even if this might become less convenient. One particular example is P key in AnnotWidget, but there are other places in the model where P key specifies only Field link. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This might be a duplicate or at least related to #28 |
Beta Was this translation helpful? Give feedback.
-
Yes, it is the same as #28. |
Beta Was this translation helpful? Give feedback.
Yes, it is the same as #28.