You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several situations where whole entity type is "excluded" from Domain Trees and thus can't be used in Entity Centres [and Web API queries]. In this case we get confusing unspecific error like the following:
Could not [un]check already 'excluded' property [entryDate] in type [SynRotableNote$$TgEntity_CB1E62745D28952F8D7C33D404F2A7BAD68BDDB466D1E7D8447FE37F7A2FC0A0].
This error shows that first property, added to Entity Centre result-set, is excluded. It would be better to indicate that whole SynRotableNote$$TgEntity_... entity type is "excluded" and why.
There are several reasons now why the type may be "excluded" fully:
entity type has abstract modifier
entity type does not have @KeyType annotation (there are compile time check on this now, however)
entity type has @DenyIntrospection annotation
Expected outcome
Narrower error reporting for Entity Centre runtime errors due to @DenyIntrospection annotation on a type.
The text was updated successfully, but these errors were encountered:
Description
There are several situations where whole entity type is "excluded" from Domain Trees and thus can't be used in Entity Centres [and Web API queries]. In this case we get confusing unspecific error like the following:
This error shows that first property, added to Entity Centre result-set, is excluded. It would be better to indicate that whole
SynRotableNote$$TgEntity_...
entity type is "excluded" and why.There are several reasons now why the type may be "excluded" fully:
abstract
modifier@KeyType
annotation (there are compile time check on this now, however)@DenyIntrospection
annotationExpected outcome
Narrower error reporting for Entity Centre runtime errors due to
@DenyIntrospection
annotation on a type.The text was updated successfully, but these errors were encountered: