-
Notifications
You must be signed in to change notification settings - Fork 77
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
SLVS-1455 Make Id of type URL #5698
Merged
Merged
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
81a1e61
Change sonarcloud ServerConnection Id to Uri
vnaskos-sonar 02dc1f9
Prevent leaking UI models to backend
vnaskos-sonar 553831e
Continue on separation of concerns
vnaskos-sonar db71335
Replace hardcoded url with Resource
vnaskos-sonar e0b7b61
Fix rebase issues
vnaskos-sonar db52a0c
Validation of new SonarCloud connection does not have an organization
vnaskos-sonar f4b868e
Throw exception if credentialsModel is null
vnaskos-sonar 955edfe
Throw exception in case of unknown connection type
vnaskos-sonar 290d104
Reuse CoreStrings.SonarCloudUrl
vnaskos-sonar 734aa31
Add documentation
vnaskos-sonar 56b85a7
Fix test
vnaskos-sonar 6f9ed50
Replace redundant check with null conditional operator
vnaskos-sonar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
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.
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.
We don't need this explicit check. If it is null, there will be a null reference exception that will be caught by the catch block.
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.
In case the credentialsModel is null the ToICredentials will throw a generic null exception. In this case I believe it's better to be proactive and add back the
.?
so the exception we get becomes specific to the lack of credentials.