Skip to Content
Yoga
ChangelogsPluginsdisable-introspection

@graphql-yoga/plugin-disable-introspection

2.13.1

Patch Changes

  • Updated dependencies [fbf328c]:
    • graphql-yoga@5.12.1

2.13.0

Patch Changes

2.12.0

Patch Changes

2.11.1

Patch Changes

  • Updated dependencies [1c055f5]:
    • graphql-yoga@5.10.11

2.11.0

Minor Changes

  • #3677 7419797 Thanks @ardatan! - Expose the server context as the second parameter, so introspection can be disabled based on the context

    import { createYoga } from 'graphql-yoga' import { useDisableIntrospection } from '@graphql-yoga/plugin-disable-introspection' // Provide your schema const yoga = createYoga({ graphiql: false, plugins: [ useDisableIntrospection({ isDisabled: (_req, ctx) => !ctx.jwt }) ] }) const server = createServer(yoga) server.listen(4000, () => { console.info('Server is running on http://localhost:4000/graphql') })

2.10.10

Patch Changes

  • Updated dependencies []:
    • graphql-yoga@5.10.10

2.10.9

Patch Changes

2.10.8

Patch Changes

  • Updated dependencies [ed344ea]:
    • graphql-yoga@5.10.8

2.10.7

Patch Changes

2.10.6

Patch Changes

  • Updated dependencies [121ccba]:
    • graphql-yoga@5.10.6

2.10.5

Patch Changes

2.10.4

Patch Changes

  • Updated dependencies [944ecd5]:
    • graphql-yoga@5.10.4

2.10.3

Patch Changes

2.10.2

Patch Changes

2.10.1

Patch Changes

  • Updated dependencies [20cd9b6]:
    • graphql-yoga@5.10.1

2.10.0

Patch Changes

  • Updated dependencies [f81501c]:
    • graphql-yoga@5.10.0

2.9.0

Patch Changes

2.8.0

Patch Changes

2.7.0

Patch Changes

2.6.3

Patch Changes

  • Updated dependencies [0866c1b]:
    • graphql-yoga@5.6.3

2.6.2

Patch Changes

2.6.1

Patch Changes

  • Updated dependencies [4252e3d]:
    • graphql-yoga@5.6.1

2.6.0

Patch Changes

  • Updated dependencies [9f3f945]:
    • graphql-yoga@5.6.0

2.5.0

Patch Changes

  • Updated dependencies [0208024]:
    • graphql-yoga@5.5.0

2.4.0

Patch Changes

2.3.1

Patch Changes

2.3.0

Patch Changes

2.2.0

Patch Changes

2.1.1

Patch Changes

  • Updated dependencies [3ef877a7]:
    • graphql-yoga@5.1.1

2.1.0

Patch Changes

  • Updated dependencies [b1f0e3a2]:
    • graphql-yoga@5.1.0

2.0.2

Patch Changes

  • Updated dependencies [77d107fe]:
    • graphql-yoga@5.0.2

2.0.1

Patch Changes

  • Updated dependencies [3fea19f2]:
    • graphql-yoga@5.0.1

2.0.0

Major Changes

Patch Changes

1.0.5

Patch Changes

  • Updated dependencies [bf602edf]:
    • graphql-yoga@4.0.5

1.0.4

Patch Changes

  • Updated dependencies [5f182006]:
    • graphql-yoga@4.0.4

1.0.3

Patch Changes

  • Updated dependencies [5efb8250]:
    • graphql-yoga@4.0.3

1.0.2

Patch Changes

  • Updated dependencies [ce6d2465]:
    • graphql-yoga@4.0.2

1.0.1

Patch Changes

1.0.0

Major Changes

Patch Changes

0.8.1

Patch Changes

0.8.0

Patch Changes

  • Updated dependencies [aff69200]:
    • graphql-yoga@3.9.0

0.7.1

Patch Changes

0.7.0

Patch Changes

0.6.3

Patch Changes

  • Updated dependencies [46e75917]:
    • graphql-yoga@3.7.3

0.6.2

Patch Changes

  • Updated dependencies [7ad50529]:
    • graphql-yoga@3.7.2

0.6.1

Patch Changes

0.6.0

Patch Changes

0.5.1

Patch Changes

  • Updated dependencies [3c8c8434]:
    • graphql-yoga@3.6.1

0.5.0

Patch Changes

0.4.1

Patch Changes

  • Updated dependencies [3a8446df]:
    • graphql-yoga@3.5.1

0.4.0

Patch Changes

  • Updated dependencies [03597a5a]:
    • graphql-yoga@3.5.0

0.3.1

Patch Changes

0.3.0

Patch Changes

0.2.1

Patch Changes

  • Updated dependencies [d4dab446]:
    • graphql-yoga@3.3.1

0.2.0

Patch Changes

0.1.1

Patch Changes

  • Updated dependencies [5528d312]:
    • graphql-yoga@3.2.1

0.1.0

Patch Changes

0.0.1

Patch Changes