Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate ambiguous extendHttpServer GraphQLSchema argument #9028

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

dcousens
Copy link
Member

This pull request deprecates extendHttpServer's argument for graphqlSchema, with preference for new code to use the context.graphql.schema if you need that.

The graphqlSchema argument is ambiguous, as you don't know without introspection if you are being passed the sudo context schema or the public context schema.

@dcousens dcousens changed the title Deprecate ambiguous extendHttpServer GraphQLSchema argument Deprecate ambiguous extendHttpServer GraphQLSchema argument Feb 15, 2024
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ec9685f:

Sandbox Source
@keystone-6/sandbox Configuration

@dcousens dcousens merged commit d828013 into main Feb 15, 2024
58 checks passed
@dcousens dcousens deleted the no-extend-http-graphqlschema branch February 15, 2024 02:51
@dcousens dcousens mentioned this pull request Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant