Skip to content

Conversation

@ayush3797
Copy link
Contributor

@ayush3797 ayush3797 commented Nov 15, 2022

Why make this change?

Fixes #961 as per this rfc #935 (for quick reference refer to this: #935 (comment)).

What is this change?

  1. We won't have a separate section "cosmos" for cosmos db in the config file, or in general no db specific section in the config file outside the data-source section.
  2. There will be an options section which will be present in the data-source section of the config. This will have the additional properties which are database specific. In case of cosmos db, it's safe to say that it will serve the purpose of the "cosmos" section that we used to have.
  3. There will be 2 new database types: cosmosdb_nosql and cosmosdb_postgresql.
  4. Important: the database type cosmos will be removed once the code changes are made on the engine side. This is not removed yet to be backwards compatible so that the engine code doesn't fail.

How was this tested?

  • Unit Tests

@ayush3797 ayush3797 changed the title Adding options section in data-source and removing database specific … Adding options section in data-source and removing database specific sections Nov 15, 2022
@ayush3797 ayush3797 self-assigned this Nov 15, 2022
@severussundar severussundar merged commit 0a2990e into main Nov 21, 2022
@severussundar severussundar deleted the dev/agarwalayush/consolidatingDataSourceSection branch November 21, 2022 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI: Modify init command to produce the new consolidated data-source section instead of cosmos options

5 participants