Merged
Conversation
Corrected the function name from Get-SqlDatabase to Get-FabricSqlDatabase in the CHANGELOG. Updated examples in the Get-FabricSQLDatabase function to improve clarity and consistency. Thank you!
Refactor the function to return warnings instead of throwing errors when both SQLDatabaseName and SQLDatabaseId are provided. Update the synopsis and description for clarity. Ensure the return value is correctly handled in the End block. Thank you!
Linux Test Results4 568 tests 4 567 ✅ 41s ⏱️ Results for commit 286d251. ♻️ This comment has been updated with latest results. |
WinPS51 Test Results4 773 tests 4 772 ✅ 50s ⏱️ Results for commit 286d251. ♻️ This comment has been updated with latest results. |
WinPS71 Test Results4 773 tests 4 772 ✅ 50s ⏱️ Results for commit 286d251. ♻️ This comment has been updated with latest results. |
NowinskiK
requested changes
Jun 14, 2025
Contributor
NowinskiK
left a comment
There was a problem hiding this comment.
I left a few small comments. Thanks!
Clarify the function's synopsis and description to enhance understanding. Corrected the spelling of "examples" and updated the URI to follow the correct casing for SQL databases. Thank you!
NowinskiK
requested changes
Jun 14, 2025
Changed the example command to use quotes around the workspace name for consistency and clarity. This helps users understand the correct syntax when using the function. Thank you!
Changed the workspace name in the example to 'MsLearn-dev' because thats important Thank you!
NowinskiK
requested changes
Jun 15, 2025
This change restructures the function to ensure that the SQLDatabaseName and SQLDatabaseID parameters cannot be used together, enhancing the clarity of parameter usage. The process block has been properly defined to maintain code organization and readability. Thank you!
Reorganize function structure and enhance code clarity by adjusting the formatting of the function definition and control structures. This change aims to make the code more maintainable and easier to understand. Thank you!
Contributor
Author
|
I have reverted back to the validation as you had it so please have a look and see if you can find anything else |
Contributor
Contributor
Author
This change introduces an initialization of the return array at the beginning of the Get-FabricSQLDatabase function. This will ensure that the function has a defined return structure, improving its reliability and maintainability. Thank you!
Contributor
Contributor
Author
NowinskiK
approved these changes
Jun 15, 2025
Contributor
NowinskiK
left a comment
There was a problem hiding this comment.
It works now! Good job! Thanks!
This change ensures that the return array is only updated if there is a valid response from the SQLDatabase filtering. This prevents potential errors when no matching databases are found. Thank you!
Contributor
Author
NowinskiK
approved these changes
Jun 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.









Pull Request
Pull Request (PR) description
updating the help to remove backticks
Improving the exit of the incompatible parameters so that there is no red error.
Adding end block as required by begin and process to return details from multiple objects in preparation for improving the output and making it more user friendly
Task list
build.ps1 -ResolveDependency -Tasks build, test).