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

update gql schema to use ID schalar + rename *ID -> *Id #3094

Merged
merged 1 commit into from
Mar 9, 2021

Conversation

jeremyletang
Copy link
Member

This do a tiny bit more than what 3077 expected which was to update ID/Id to be used consistently.
It also change all IDs kinds fields types from String to the ID scalar.

Let's maybe not merge this straight away as it may break the front-end?

close #3077

@jeremyletang jeremyletang requested review from edd, mattrussell36 and a team March 5, 2021 09:12
@jeremyletang
Copy link
Member Author

the String -> ID changes for IDs may be useful for the frontend, I've read somewhere that it was helping for graphql library to optimise caching related stuff... so it may be useful for you @edd @mattrussell36

Copy link
Member

@edd edd left a comment

Choose a reason for hiding this comment

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

Nice! Not for future me: breaking change.

@jeremyletang jeremyletang force-pushed the feature/3077-inconsistent-id-gql branch from f0a4d2b to fdae27e Compare March 9, 2021 13:02
@jeremyletang jeremyletang merged commit 399707f into develop Mar 9, 2021
@jeremyletang jeremyletang deleted the feature/3077-inconsistent-id-gql branch March 9, 2021 13:12
@edd edd mentioned this pull request Mar 16, 2021
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent naming of IDs in GraphQL schema
3 participants