github hasura/ndc-sdk-typescript v2.0.0

latest releases: v7.0.0, v6.1.0, v6.0.0...
7 months ago

Breaking change: support for the v0.1.0-rc.14 of NDC Spec.

  • Function name formatting is now standard JavaScript camelCase. NDC types used for wire-transmission match the spec (snake_cased).
  • Added nested field selections (Field.fields)
  • Capabilities now only specifies a single supported version (CapabilitiesResponse.version)
  • Expression.where renamed to Expression.predicate
  • PathElement.predicate is now optional
  • Added Predicate types (new predicate Type.type)
  • Added mutation capability
  • Comparison operators
  • Changes to explain:
    • Connector.explain renamed to Connector.queryExplain and endpoint moved from /explain to /query/explain.
    • Connector.mutationExplain added with endpoint /mutation/explain.
    • explain capability moved to query.explain. mutation.explain capability added.
  • ComparisonOperatorDefinition now has equal and in as two standard definitions and custom operators can be defined. The equality operator is no longer required to be defined and must be explicitly defined.

Full Changelog: v1.2.8...v2.0.0

Don't miss a new ndc-sdk-typescript release

NewReleases is sending notifications on new releases.