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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Changed
Improved consistency of handling results of different types returned by custom handlers in CRUD resolvers:
Wrap only objects (i.e. not primitive types or arrays) returned by custom handlers in arrays in create, read, and update resolvers
Delete mutations return the length of an array that is returned by a DELETE custom handler or 1 if a single object is returned
Don't generate fields for key elements in update input objects
Update and delete mutations have mandatory filter argument
Allow services that are not instances of cds.ApplicationService. It is expected that the invoker provides the correct set of service providers when directly using the GraphQL protocol adapter API.
Fixed
Aligned cds.Request instantiation with other protocols for more consistent usage in custom handlers