-
Notifications
You must be signed in to change notification settings - Fork 227
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
BREAKING CHANGE: SqlDatabaseOwner/Permission/Role: Update parameter Database to DatabaseName #1507
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 16 of 26 files at r1.
Reviewable status: 14 of 26 files reviewed, 4 unresolved discussions (waiting on @johlju and @Rob-S)
CHANGELOG.md, line 8 at r1 (raw file):
## [Unreleased]
There are duplicate Unreleased sections.
source/DSCResources/MSFT_SqlDatabaseRole/MSFT_SqlDatabaseRole.psm1, line 22 at r1 (raw file):
RoleName
Not sure we should change this from Name
. I think since the resource is named SqlDatabaseRole then it is implicit that the Name
means the role name. If community want to change this then we need to change a lot of resources since most follow this pattern.
I suggest renaming RoleName
in this resource (only) back to Name
(you may keep RoleName
on the helper functions though).
source/Examples/Resources/SqlDatabaseUser/1-AddDatabaseUserWithLogin.ps1, line 25 at r1 (raw file):
UserName
This should be kept as Name
, throughout this file and the other examples for this resource. Since the resource is named SqlDatabaseUser then it is implicit that the Name
means the user name.
tests/Unit/MSFT_SqlDatabaseOwner.Tests.ps1, line 145 at r1 (raw file):
$result.Database
This should be DatabaseName
. Throughout.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 13 of 17 files at r2.
Reviewable status:complete! all files reviewed, all discussions resolved
Awesome work on this. This looks great and I will merge soon. I waiting for more breaking changes PR's before I merge so we can release fixes. I'm working on a breaking PR too but goes slow since I don't have much time at the moment. |
Pull Request (PR) description
BREAKING CHANGE: Database changed to DatabaseName for consistency with other modules.
This Pull Request (PR) fixes the following issues
Task list
file CHANGELOG.md. Entry should say what was changed and how that
affects users (if applicable), and reference the issue being resolved
(if applicable).
and comment-based help.
This change is