Open michaelknigge opened 8 years ago
Right now the @AFPField annotation is thought as experimental. It isn't applied to all object types. The idea for it came relatively late in the project when I worked on a (non-WYSIWYG)AFP-Editor and contemplated on a Validator that enables developers to validate the correctness of a (newly created/changed) Structured Field(SF).
However, AFP is a quite a beast and at one point I realized that I will not get through with that approach since the validity of the value of a field may depend on the value of other fields, sometimes residing in other SFs.
But, yes, if it is of use we can apply it to Triplets, RepeatingGroups, etc. too. I let this issue open until it is done.
Is there any reason why you've not specified the (brilliant!) @AFPField annotation the the fields of triplets and repeating groups?
This annotation is very useful when parsing the structured fields and one needs generic access (using reflection) to the fields - but because most structured fields contains triplets and/or repeating groups, this annotation would be great on them, too.
Bye, Michael