Skip to content

v0.5.0

Compare
Choose a tag to compare
@github-actions github-actions released this 04 May 07:51
· 135 commits to main since this release
7e7b190

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