github Urigo/graphql-mesh @graphql-mesh/thrift@0.9.0

latest releases: release-1660141840432, json-machete@0.11.1, @omnigraph/raml@0.5.64...
2 years ago

Minor Changes

  • a0950ac: Breaking Change:

    • Now you can set a global customFetch instead of setting customFetch individually for each handler. customFetch configuration field for each handler will no longer work. And also customFetch needs to be the path of the code file that exports the function as default. moduleName#exportName is not supported for now.

    • While programmatically creating the handlers, now you also need fetchFn to be passed to the constructor;

    new GraphQLHandler({
      ...,
      fetchFn: myFetchFn,
    })
    • readFileOrUrl's second config parameter is now required. Also this second parameter should take an object with cwd, importFn, fetch and logger. You can see the diff of handler's codes as an example.

Patch Changes

  • Updated dependencies [19d06f6]
  • Updated dependencies [19d06f6]
  • Updated dependencies [a0950ac]
    • @graphql-mesh/utils@0.36.0
    • @graphql-mesh/types@0.76.0
    • @graphql-mesh/store@0.8.17

Don't miss a new graphql-mesh release

NewReleases is sending notifications on new releases.