Skip to content
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

OptionsMapTable preparing from DacFx description,value,displayname at… #1550

Merged
merged 16 commits into from
Jul 7, 2022

Conversation

ssreerama
Copy link
Contributor

…tributes

This PR provides

  1. OptionsMapTable {key:DisplayName, value: {value, description, propertyName}} to SQL DB Proj and SC
  2. This change helps to remove the duplicate code form the extensions and utilize the direct useful information from the DacFx through the optionsMapTable.
  3. Test fixes and added conditions for optionsMapTable values.

@ssreerama ssreerama marked this pull request as ready for review June 21, 2022 18:47
@ssreerama ssreerama self-assigned this Jun 23, 2022
@ssreerama ssreerama requested a review from kisantia June 23, 2022 15:41
@kisantia
Copy link
Contributor

Are the test failures because this PR needs a new DacFx preview nuget?

@ssreerama
Copy link
Contributor Author

Are the test failures because this PR needs a new DacFx preview nuget?

@kisantia , Yes, working on getting the Preview Nuget for the ADS, will updated it today once the Nuget is available. Thanks :)

@github-actions
Copy link

As part of updating the dependencies in Packages.props we require that any PRs opened also verify that
they've done the following checks.

Please respond to this comment verifying that you've done the appropriate validation (or explain why it's not necessary) before merging in the PR

  • Built and tested the change locally to validate that the update doesn't cause any regressions and fixes the issues intended
  • Tested changes on all major platforms (Windows/Mac/Linux)
  • Check the source repo for any open issues with the release being updated to (if available)

@Benjin Benjin self-requested a review June 29, 2022 20:17
@Benjin Benjin dismissed their stale review June 29, 2022 20:29

Open comments

@ssreerama ssreerama requested a review from kisantia July 5, 2022 21:53
Copy link
Contributor

@Charles-Gagnon Charles-Gagnon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a lot of stuff here that I'm not the expert on with what properties exist and how they're passed around, but generally not seeing anything big.

I would very strongly suggest adding a README somewhere for the steps to take when new properties need to be added, covering both how the built-in boolean ones are handled and then how to add "custom" props.

@ssreerama ssreerama merged commit 5663ddb into main Jul 7, 2022
@ssreerama ssreerama deleted the sai/OptionsDisplayNames branch July 7, 2022 21:56
nofield pushed a commit that referenced this pull request Jul 19, 2022
#1550)

* OptionsMapTable preparing from DacFx description,value,displayname attributes

* Review Comments addressed for options map table changes

* OptionsMapTable final changes

* Code review comments updated code changes

* Test fix: Adding missing change while splitting the PR

* DacFx vBump

* Reverted to displayName and code updates

* final:prop name changed, references updated, tests fixed, comments addressed

* Code review comments updated for name,exception etc

* updates method names

* property name changes to BooleanOptionsDictionary and comment updates

* Removed the unused properties, null cases handeled, hardcoded values are replaced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants