dab init --database-type "cosmos" has more mandatory options mismatching starter Cosmos doc
See original GitHub issueHello, testing the Cosmos starter doc using (dab 0.1.5): https://github.com/Azure/data-api-builder/blob/main/docs/getting-started/getting-started.md#overview-of-configuration-file
executing
dab init --database-type "cosmos" --connection-string "AccountEndpoint=https://cosmoslab77722.documents.azure.com:443/;AccountKey=***;"
and getting error that 2 additional new options are mandatory:
Provide all the mandatory options for CosmosDB: --cosmos-database, and --graphql-schema Failed to create the runtime config file.ERROR: Could not generate config file. <
This does create a mismatch between doc instructions and process flow. Pls advise if this is going to be updated one way of the other.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Consistency level choices - Azure Cosmos DB
Azure Cosmos DB has five consistency levels to help balance eventual consistency, availability, and latency trade-offs.
Read more >GraphQL on Azure: Part 12 - GraphQL as a Service
DAB is a joint effort from the Azure SQL, PostgreSQL, MySQL and Cosmos DB teams to provide a simple and easy way to...
Read more >Manage consistency levels in Azure Cosmos DB
Find your Azure Cosmos DB account, and open the Default consistency pane. Select the level of consistency you want as the new default,...
Read more >Read more - Aaron Powell
I’m going to use DAB with a Cosmos DB backend, just to show you how to ... file:\n1 dab init --config dab-config.json --database-type...
Read more >Energy, Environment & Sustainability
Explore the Energy, Environment & Sustainability Career Community. Do you have an investigative mindset and like solving complex problems?
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks. I tested dab init successfully after updating dab to v 0.2.52. this issue is now closed.
@sajeetharan - thanks for the update. I see the step in the doc https://github.com/Azure/data-api-builder/blob/main/docs/getting-started/getting-started-azure-cosmos-db.md#creating-a-configuration-file-for-dab was updated to add the additional required steps. But to re-test it I do not see new dab nuget package for v 0.2.5 posted in releases to re-test. Can you pls tag me here once it will be posted and I will re-test and close?