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

Refs can possibly have null labels #278

Merged
merged 1 commit into from
May 18, 2023
Merged

Refs can possibly have null labels #278

merged 1 commit into from
May 18, 2023

Conversation

gsteel
Copy link
Member

@gsteel gsteel commented May 18, 2023

  • Updates the Ref class so that null is allowed for the label
  • Marks all Ref properties as public readonly since we're now on 8.1 minimum
  • Marks Ref as immutable
  • Makes types more precise for Ref

Whilst this is possibly a BC break, i.e. the remote API has changed, it could also be due to Scheduled Releases, which may always have carried a null label.

If this turns out to be a fix, then it may need back-porting to older versions

- Updates the Ref class so that null is allowed for the label
- Marks all `Ref` properties as `public readonly` since we're now on 8.1 minimum
- Marks `Ref` as immutable
- Makes types more precise for `Ref`

Whilst this is possibly a BC break, i.e. the remote API has changed, it could also be due to Scheduled Releases, which may always have carried a null label.

If this turns out to be a fix, then it may need back-porting to older versions
@gsteel gsteel added the bug Something isn't working label May 18, 2023
@gsteel gsteel added this to the 1.8.1 milestone May 18, 2023
@gsteel gsteel self-assigned this May 18, 2023
@gsteel gsteel merged commit 2b9fabd into 1.8.x May 18, 2023
@gsteel gsteel deleted the null-ref-labels branch May 18, 2023 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant