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

Use local GraphQL schema for TS generation #301

Merged
merged 1 commit into from
Feb 22, 2023
Merged

Conversation

davidspek
Copy link
Contributor

Summary

Similarly to what we do on the main app now, this PR uses a local version of the GraphQL schema to generate the TS types and functions. This removes the need to release the console for an API change before the frontend work can continue. It also ensures that API changes that would break the frontend can be caught and fixed in the same PR.

Checklist

  • If required, I have updated the Plural documentation accordingly.
  • I have added tests to cover my changes.
  • I have added a meaningful title and summary to convey the impact of this PR to a user.
  • I have added relevant labels to this PR to help with categorization for release notes.

Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
@davidspek davidspek added the enhancement New feature or request label Feb 22, 2023
@github-actions
Copy link
Contributor

Visit the preview URL for this PR (updated for commit ccb20b1):

https://pluralsh-console--pr301-schema-improvements-zwyjofle.web.app

(expires Wed, 01 Mar 2023 11:19:31 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: dd1ffa0705acc6ef7d6db370e6bd6fc390e945ce

@davidspek davidspek merged commit f77ca59 into master Feb 22, 2023
@davidspek davidspek deleted the schema-improvements branch February 22, 2023 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants