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

fix: implements graphql schema generation #6254

Merged
merged 7 commits into from May 13, 2024
Merged

Conversation

JarrodMFlesch
Copy link
Contributor

@JarrodMFlesch JarrodMFlesch commented May 7, 2024

Description

Fixes payloadcms/payload-3.0-demo#176

The @payloadcms/graphql package now exports a bin script under the scope payload-graphql.

So you can run:

pnpm payload-graphql generate:schema

Also adds the graphQL.schemaOutputFile filepath property back to the payload config. Similar to how the TS types filepath is set with typescript.outputFile.

  • I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

  • Chore (non-breaking change which does not add functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Change to the templates directory (does not affect core functionality)
  • Change to the examples directory (does not affect core functionality)
  • This change requires a documentation update

Checklist:

  • I have added tests that prove my fix is effective or that my feature works
  • Existing test suite passes locally with my changes
  • I have made corresponding changes to the documentation

@denolfe denolfe force-pushed the fix/beta/generate-graphql branch from 1824132 to 6e5aeb8 Compare May 13, 2024 19:39
@denolfe denolfe merged commit 3abc2e8 into beta May 13, 2024
33 checks passed
@denolfe denolfe deleted the fix/beta/generate-graphql branch May 13, 2024 20:46
JessChowdhury pushed a commit that referenced this pull request May 14, 2024
Co-authored-by: Elliot DeNolf <denolfe@gmail.com>
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.

None yet

2 participants