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
@graphql-codegen/cli
Function loadSchema should support array of pointers as an argument. The function support this behaviour, but the types are not.
loadSchema
graphql-code-generator/packages/graphql-codegen-cli/src/load.ts
Line 31 in b73ed8f
The same problem in method loadSchema in CodegenContext class. It should be Types.Schema[].
CodegenContext
graphql-code-generator/packages/graphql-codegen-cli/src/config.ts
Line 425 in b73ed8f
loadSchema from @graphql-tools/load supports array of pointers too.
@graphql-tools/load
https://github.com/ardatan/graphql-tools/blob/66b6a98d7e134e932f28e7788b4884d2c0461b12/packages/load/src/schema.ts#L45
loadSchema(['src/schema-1.graphql', 'src/schema-2.graphql'] shows error
loadSchema(['src/schema-1.graphql', 'src/schema-2.graphql']
loadSchema(['src/schema-1.graphql', 'src/schema-2.graphql'] don't show error
No response
graphql
@graphql-codegen/*
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Which packages are impacted by your issue?
@graphql-codegen/cli
Describe the bug
Function
loadSchema
should support array of pointers as an argument. The function support this behaviour, but the types are not.graphql-code-generator/packages/graphql-codegen-cli/src/load.ts
Line 31 in b73ed8f
The same problem in method
loadSchema
inCodegenContext
class. It should be Types.Schema[].graphql-code-generator/packages/graphql-codegen-cli/src/config.ts
Line 425 in b73ed8f
loadSchema
from@graphql-tools/load
supports array of pointers too.https://github.com/ardatan/graphql-tools/blob/66b6a98d7e134e932f28e7788b4884d2c0461b12/packages/load/src/schema.ts#L45
Your Example Website or App
Steps to Reproduce the Bug or Issue
loadSchema(['src/schema-1.graphql', 'src/schema-2.graphql']
shows errorExpected behavior
loadSchema(['src/schema-1.graphql', 'src/schema-2.graphql']
don't show errorScreenshots or Videos
No response
Platform
graphql
version: [e.g. 16.3.0]@graphql-codegen/*
version(s): [e.g. 2.6.2]Codegen Config File
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: