You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 666bd37, to support nullable reference types, a change was made to GetReleaseBranchConfig however it did more than support nullable reference types - it actually changed the behaviour of the method. Previously the method would return all release branch configs however now it only returns the first. This is a problem if you have more than one release branch config set.
Expected Behavior
The method to return a list of all release branch configurations.
Actual Behavior
The method returns a list with only the first found release branch configuration.
Possible Fix
Mostly revert back to the previous code though without the ? checks so the values are compatible with nullable reference type checks.
Describe the bug
In 666bd37, to support nullable reference types, a change was made to
GetReleaseBranchConfig
however it did more than support nullable reference types - it actually changed the behaviour of the method. Previously the method would return all release branch configs however now it only returns the first. This is a problem if you have more than one release branch config set.Expected Behavior
The method to return a list of all release branch configurations.
Actual Behavior
The method returns a list with only the first found release branch configuration.
Possible Fix
Mostly revert back to the previous code though without the
?
checks so the values are compatible with nullable reference type checks.Steps to Reproduce
Context
We have multiple release branches and the change in behaviour inadvertently made our version numbers wrong.
Your Environment
The text was updated successfully, but these errors were encountered: