I want to edit Hydrogen's codegen.ts to fetch the Admin API schema. #2275
Unanswered
ujike-ryota
asked this question in
Help
Replies: 1 comment 1 reply
-
You could get some inspiration from #1011 But also remember to add a You'll also want to make sure that you're passing a version to the Admin API URL like this: https://shopify.dev/docs/api/shopify-app-remix/v2/guide-graphql-types#configure |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I need to use the Admin API in the Hydrogen project.
I read and tried to make changes based on this session, but it didn't work.
codegen.ts
When I run
yarn run codegen
, I get the following error:Please help me 😭
Beta Was this translation helpful? Give feedback.
All reactions