Skip to content
Discussion options

You must be logged in to vote

There is an ongoing work to add Bun to our E2E test suite but overall it should work as is.
graphql-hive/gateway#81
For the plugins that are not available in prgraommatic API as builtin, you can import and use them (not documented yer unfortunately)

import { useOpenTelemetry, createGatewayRuntime } from '@graphql-hive/gateway';

createGatewayRuntime({
  plugins: ctx => [
     useOpenTelemetry({
        ...ctx,
        // other otel options
     })
  ]
})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@klippx
Comment options

Answer selected by klippx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants