How to see what annotations applies to Types vs Fields


#1

Annotation Types have an “appliesTo” field. It shows if an annotation can be applied to types, fields, viewField, or function.

Ann.Db.extensions().annotation.appliesTo returns ["type","field"].