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
These have always bothered me in my own development work on the API-specification and I have commented that they need to be clarified or removed. The point of what they are trying to achieve is to search within subclasses of an entity / search within only a given subclass of an entity.
If you wish you can propose an understanding on how to do it. Personally I think
One of the problems I have faced with this is the fact that Noark 5.5 defines a single party object whereas the spec requires them to be different ones based on use cases. This is fine from a conceptual point of view, but makes mapping for us difficult since we effectively map them to the same object in the background.
Even if we ignore the issues with mapping though, I think I'd avoid using the Default.Entity concept and instead go with one of the approaches suggested by you. I think both will work and both can be allowed too. Just a note that OData doesn't support this particular syntax - any will have to be used instead, but the idea is the same.
Could you elaborate on the examples in chapter 6 using the Default.{Entity} syntax? For example:
I could not find an OData v4 (or v2 for that matter) concept explaining this and was wondering whether that is an API requirement instead.
The text was updated successfully, but these errors were encountered: