Closed ProchaLu closed 5 months ago
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with Status: Up for grabs
. You & others like you are the reason all of this works! So thank you & happy coding! 🚀
This package is ESM. You will need to change your code.
The error given is misleading
What happened?
When running
graphql-codegen --config codegen.yml
in this project after updating the@octokit/graphql-schema
fromv14.46.1
tov15.15.0
. The error message shows that the schema cannot be loaded due to the absence of the "exports" main in the package.json of "@octokit/graphql-schema".Also there the failing test
I am loading the current schema directly as JSON in this
github-schema-loader.cjs
fileand using this
github-schema-loader.cjs
in the schema for the GraphQL codegen in thisyml
fileVersions
Node.js
v20.12.1
pnpm9.0.6
Relevant log output
No response
Code of Conduct