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

feat: add schema generation as codegen step #338

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

Sekhmet
Copy link
Contributor

@Sekhmet Sekhmet commented Feb 6, 2025

Full query schema will be useful for integrating into UI without the need of getting schema from running API instance.

Test plan

Run node PATH_TO_CHECKPOINT/dist/src/bin/index.js generate in API and it should generate .checkpoint/schema.gql.

Full query schema will be useful for integrating into UI without
the need of getting schema from running API instance.
@Sekhmet Sekhmet requested a review from bonustrack February 6, 2025 15:38
Copy link
Contributor

@bonustrack bonustrack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK

For list responses type should be [Item!]! because list will be always there
and we won't return null inside.
@Sekhmet Sekhmet merged commit 579e1eb into master Feb 6, 2025
1 check passed
@Sekhmet Sekhmet deleted the sekhmet/schema-generation branch February 6, 2025 16:27
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.

2 participants