-
Notifications
You must be signed in to change notification settings - Fork 287
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
✨ add schema generation for customer account api in hydrogen-react ‰… #1572
Conversation
7abe11b
to
c42c793
Compare
const SF_API_VERSION = '2023-10'; | ||
const CA_API_VERSION = '2024-01'; |
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.
😬 should we release this in 2024.1.0
to honor the CAAPI version?
Or at least mention explicitly that this is still unstable/release candidate, and that the stable will come in 2024.1.0?
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.
I would like to do the update for SFAPI version on a separate PR because there are so much involved (updating hydrogen version and all the doc links) and this PR has enough file changes as it is. I will update the changelog with the unstable information thou!
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.
e3bcf45
to
247db5c
Compare
…d export these types in both hydrogen-react & hydrogen.
247db5c
to
29252f1
Compare
…and export these types in both hydrogen-react & hydrogen.
Related PR: #1569
WHY are these changes introduced?
This is needed to fetch and use customer account api schema types.
WHAT is this pull request doing?
graphql-types
command in hydrogen-react now generate two additional filescustomer.schema.json
&src/customer-account-api-types.d.ts
which is the schema & the schema types from Customer Account API.Both of those files are being exported in hydrogen-react & hydrogen package.
HOW to test your changes?
There is nothing to test just yet
Post-merge steps
Checklist