-
Notifications
You must be signed in to change notification settings - Fork 995
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
Refactors graphql-server to use dedicated plug-in directory and tests #3307
Conversation
@dac09 I have integrated authDirectives in and updated sdl generators and e2e tests. Perhaps we review, merge main, and merge and then do directive generation in a new PR? |
packages/cli/src/commands/generate/sdl/__tests__/__snapshots__/sdl.test.js.snap
Outdated
Show resolved
Hide resolved
Add internal dependency to gql-server
…l-server-plugins * 'main' of github.com:redwoodjs/redwood: (25 commits) Use data previously created in the scenario as input to other scenario data (#3386) extend scenario with support for scenario.only (#3385) [contributing] Add watchNodeModules option to yarn rw dev (#3282) fix(testing): Fix mockCurrentUser on api side (#3369) Improvements to rw exec scripts (#3382) Refactor type generator parse method (#3381) Update env variable for gitpod rwfw (#3306) Import from specific files, not internal (#3373) Replace url and file loaders with asset modules (#3293) Support extra options in scenario to be passed to Prisma create (#3261) Fix: Log error during GraphQL execution (#3380) Fix: Generate types when generating sdl (#3378) Fix routes with float on Webpack dev server (#3294) Handle matching trailing slash (#2628) Surface errors on the api side (#3353) v0.36.4 upgrade prisma v2.30.3 (#3355) v0.36.3 fix(api-dev): Ensure dist, types and db paths are ignored on windows (#3341) babel-plugin-redwood-import-dir: Fix regex and Windows paths (#3311) ...
37f9571
to
8e64c23
Compare
Refactors so that root schema is in one place
@dac09 and @thedavidprice I added a workaround for the GraphQL schema check on windows and CI passes. Your call on merging but I think we are ready |
DO IT! There's no way I'm pushing that button. You two earned it. 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🏆
Continuation of sunsetting of Apollo Server with the Helix and envelop graphql-server
What does this do?
Todo
requireAuth
directiveuseXXX
variable names for envelop pluginRequires discussion
[ ] Are we OK to rename the env variableSAFE_GLOBAL_CONTEXT
toDISABLE_GLOBAL_CONTEXT_ISOLATION
?[ ] Deprecate api when writing to use createGraphQLHandler "in some way"?[ ] Do we want to import requireAuth from src/lib/auth (for backwards compatibility) - or does it make it difficult to understand where logic sits?