We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--node
After running the script
zeus http://hasura:8080/v1/graphql ./generated/hasura --node --header=x-hasura-admin-secret:$HASURA_ADMIN_SECRET
It will generate
But inside index.ts it tries to include a .js file
index.ts
.js
import { AllTypesProps, ReturnTypes, Ops } from './const.js';
This breaks the build process
The text was updated successfully, but these errors were encountered:
i found that this line breaks it
https://github.com/graphql-editor/graphql-zeus/blob/4a309df2b77dde9a4dfcf52b8adff371f6ff79cc/packages/graphql-zeus-core/TreeToTS/index.ts#L109C42-L109C42
indexImports: `import { AllTypesProps, ReturnTypes, Ops } from './const${ esModule || env === 'node' ? '.js' : '' }';`.concat(
Sorry, something went wrong.
one of the latest releases seems to have fixed this issue for me.
No branches or pull requests
After running the script
It will generate
But inside
index.ts
it tries to include a.js
fileThis breaks the build process
The text was updated successfully, but these errors were encountered: