We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Code below is using an end of life package and needs updated Package: apollo-server-errors Links: https://www.npmjs.com/package/apollo-server-errors, https://www.apollographql.com/docs/apollo-server/migration#packages-merged-into-apolloserver
Line of code
graphql-constraint-directive/index.js
Line 192 in 3629c71
function createApolloQueryValidationPlugin ({ schema }, options = {}) { return { async requestDidStart () { return ({ async didResolveOperation ({ request, document }) { const query = request.operationName ? separateOperations(document)[request.operationName] : document const errors = validateQuery( schema, query, request.variables, request.operationName, options ) if (errors.length > 0) { throw errors.map(err => { const { UserInputError } = require('apollo-server-errors') return new UserInputError(err.message, { field: err.fieldName, context: err.context }) }) } } }) } } }
The text was updated successfully, but these errors were encountered:
I think that this has been fixed already by #243
Any chance to get a release that contains this fix @confuser ?
Sorry, something went wrong.
No branches or pull requests
Code below is using an end of life package and needs updated
Package: apollo-server-errors
Links: https://www.npmjs.com/package/apollo-server-errors, https://www.apollographql.com/docs/apollo-server/migration#packages-merged-into-apolloserver
Line of code
graphql-constraint-directive/index.js
Line 192 in 3629c71
The text was updated successfully, but these errors were encountered: