Skip to content

v0.6.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Jun 11:24
· 98 commits to main since this release
2bb6894

Added

  • Support for @sap/cds^7 middlewares and protocols. Note: services now need to be annotated with protocol annotations such as @graphql or @protocol: 'graphql'.

Changed

  • Bump required @sap/cds version to >=7
  • @cap-js/graphql/index.js now collects individual services and mounts the adapter as a protocol middleware on the cds.on('served', ...) event
  • Moved the GraphQLAdapter module to lib/GraphQLAdapter.js and merged it with CDSGraphQLAdapter previously found in index.js in the root directory
  • Don't generate fields that represent compositions of aspects within mutation types that represent services
  • Disabled conjunction on the same field for the following operators:
    • eq (Equal)
    • gt (Greater Than)
    • ge (Greater Than or Equal)
    • le (Less Than or Equal)
    • lt (Less Than)
    • startswith
    • endswith