@cap-js/graphql
Advanced tools
Changelog
Version 0.11.0 - 2024-07-30
cds.server.body_parser.limit
@sap/cds
version to >=7.8
node
version to ^16
due to usage of Buffer.toString('base64url')
cds.compile.to.serviceinfo
to determine if a service should be compiled to GraphQL schemaChangelog
Version 0.10.1 - 2024-03-07
Int
.Changelog
Version 0.10.0 - 2024-01-30
in
for filtering on lists of values@graphiql/plugin-explorer
version to ^1
nodes
or totalCount
null
values in listsChangelog
Version 0.9.0 - 2023-11-16
cds.compile.to.gql
and cds.compile.to.graphql
targets from @sap/cds
to @cap-js/graphql
graphql
protocol configuration with plugin default configuration4xx
range) are now logged as warnings instead of errorserrorFormatter
relative to CDS project rootquery
propertyChangelog
Version 0.8.0 - 2023-10-06
GraphQLError
extensions
. Only specific allowed properties are exposed when running in production.errorFormatter
that can be pointed to a function that overwrites the default logic of how CDS errors are formatted before they are added to the GraphQL error response. Please note that this may overwrite sanitization logic that is otherwise applied to error messages in production.@sap/cds
version to >=7.3
graphql-http
version to ^1.18.0
Changelog
Version 0.6.2 - 2023-07-12
graphiql
version to ^3
@graphiql/plugin-explorer
version to ~0.3
Changelog
Version 0.6.1 - 2023-07-05
undefined
operationName
variables
when not in productionChangelog
Version 0.6.0 - 2023-06-23
@sap/cds^7
middlewares and protocols. Note: services now need to be annotated with protocol annotations such as @graphql
or @protocol: 'graphql'
.@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', ...)
eventGraphQLAdapter
module to lib/GraphQLAdapter.js
and merged it with CDSGraphQLAdapter
previously found in index.js
in the root directoryeq
(Equal)gt
(Greater Than)ge
(Greater Than or Equal)le
(Less Than or Equal)lt
(Less Than)startswith
endswith
Changelog
Version 0.5.0 - 2023-05-04
DELETE
custom handler or 1 if a single object is returnedfilter
argumentcds.ApplicationService
. It is expected that the invoker provides the correct set of service providers when directly using the GraphQL protocol adapter API.cds.Request
instantiation with other protocols for more consistent usage in custom handlers