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
In both the documentation and in the Demo app (e.g. Book and Review), Operations are defined either in the APIResource's operations property or directly on the entity class.
Can these be used interchangeably or are there any differences in semantics? What happens exactly if both are defined for the same entity but with different properties?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In both the documentation and in the Demo app (e.g.
Book
andReview
), Operations are defined either in theAPIResource
's operations property or directly on the entity class.Example:
Can these be used interchangeably or are there any differences in semantics? What happens exactly if both are defined for the same entity but with different properties?
Beta Was this translation helpful? Give feedback.
All reactions