Skip to content

Conversation

@himanshugoyal77
Copy link
Contributor

Fixes #385

Added the "graphql-middleware": "^6.0.9", package in package.json

and changed
schema: applyMiddleware(makeExecutableSchema({ typeDefs, resolvers }), permissions),

to

    schema: applyMiddleware(
        makeExecutableSchema({ typeDefs, resolvers }),
        permissions.generate(makeExecutableSchema({ typeDefs, resolvers }))
    ),

image

@Akshatji800 Akshatji800 merged commit e09404c into CCExtractor:master Feb 2, 2025
1 of 2 checks passed
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.

graphql-middleware not installed and syntax changes

2 participants