github Urigo/graphql-mesh release-1660025666455
Release 92ee24c6e (from master)

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

@graphql-mesh/cli@0.75.7

Patch Changes

  • Updated dependencies [760a60483]:
    • @graphql-mesh/runtime@0.41.7

@graphql-mesh/container@0.1.130

Patch Changes

  • Updated dependencies [be784e653, be784e653, 31fc25974, 760a60483]:
    • @graphql-mesh/openapi@0.30.0
    • @graphql-mesh/json-schema@0.31.0
    • @graphql-mesh/runtime@0.41.7
    • @graphql-mesh/cli@0.75.7

@graphql-mesh/json-schema@0.31.0

Minor Changes

  • #4247 31fc25974 Thanks @ardatan! - Accept a code file for operationHeaders

    Now you can generate headers dynamically from the resolver data dynamically like below;

    operationHeaders: ./myOperationHeaders.ts

    And in myOperationHeaders.ts

    export default function myOperationHeaders({ context }: ResolverData) {
      const someToken = context.request.headers.get("some-token");
      const anotherToken = await someLogicThatReturnsAnotherToken(someToken);
      return {
        "x-bar-token": anotherToken
      };
    }

Patch Changes

@graphql-mesh/new-openapi@0.6.0

Minor Changes

  • #4247 31fc25974 Thanks @ardatan! - Accept a code file for operationHeaders

    Now you can generate headers dynamically from the resolver data dynamically like below;

    operationHeaders: ./myOperationHeaders.ts

    And in myOperationHeaders.ts

    export default function myOperationHeaders({ context }: ResolverData) {
      const someToken = context.request.headers.get("some-token");
      const anotherToken = await someLogicThatReturnsAnotherToken(someToken);
      return {
        "x-bar-token": anotherToken
      };
    }

Patch Changes

@graphql-mesh/openapi@0.30.0

Minor Changes

Patch Changes

@graphql-mesh/raml@0.4.11

Patch Changes

  • Updated dependencies []:
    • @omnigraph/raml@0.5.63

@omnigraph/json-schema@0.26.0

Minor Changes

  • #4262 be784e653 Thanks @ardatan! - Handle callbacks as GraphQL Subscriptions

  • #4247 31fc25974 Thanks @ardatan! - Accept a code file for operationHeaders

    Now you can generate headers dynamically from the resolver data dynamically like below;

    operationHeaders: ./myOperationHeaders.ts

    And in myOperationHeaders.ts

    export default function myOperationHeaders({ context }: ResolverData) {
      const someToken = context.request.headers.get("some-token");
      const anotherToken = await someLogicThatReturnsAnotherToken(someToken);
      return {
        "x-bar-token": anotherToken
      };
    }

Patch Changes

@omnigraph/openapi@0.8.0

Minor Changes

  • #4262 be784e653 Thanks @ardatan! - Handle callbacks as GraphQL Subscriptions

  • #4247 31fc25974 Thanks @ardatan! - Accept a code file for operationHeaders

    Now you can generate headers dynamically from the resolver data dynamically like below;

    operationHeaders: ./myOperationHeaders.ts

    And in myOperationHeaders.ts

    export default function myOperationHeaders({ context }: ResolverData) {
      const someToken = context.request.headers.get("some-token");
      const anotherToken = await someLogicThatReturnsAnotherToken(someToken);
      return {
        "x-bar-token": anotherToken
      };
    }

Patch Changes

@omnigraph/raml@0.5.63

Patch Changes

@graphql-mesh/runtime@0.41.7

Patch Changes

  • 760a60483 Thanks @ardatan! - Fix a bug causing the execution args passed to 'execution' ignored in the subsequent envelop plugins

Don't miss a new graphql-mesh release

NewReleases is sending notifications on new releases.