-
Notifications
You must be signed in to change notification settings - Fork 207
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
[Bug]: Export command fails to export the graphql schema #1542
Comments
@abhishekkumams is this still an issue? thought was fixed at some point. if fixed, please associate PR workitem and close. |
I was having the same issue and discovered you need to run the export command while the service is running. I was testing this locally and kept getting the above error because I could either execute the command or run |
@Greven145 can you share the command you used to attempt to get the schema exported? I was able to get a schema exported without manually starting a separate instance of dab running. (dab export launches its own instance of dab to get the schema, you shouldn't be required to do so separately). dab export --graphql -o "C:\dabtest\schema_drop" --config "C:\dabtest\dab-config.json" Note:
|
Dab engine is expected to be started temporarily to run GraphQL schema generation to provide a file to dab CLI |
What happened?
Even when the engine is started,
dab export
fails to export the graphql schema file.How to reproduce?
dab-config.Mssql.json
file update the connection string accordingly.Version
running from main
What database are you using?
Azure SQL
What hosting model are you using?
Local (including CLI)
Which API approach are you accessing DAB through?
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: