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

Allow for getting the type of an update through a helper method #151

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

PaulSonOfLars
Copy link
Owner

What

This adds a new Update.GetType() method, which can be used to determine what type of update one is handling without having to check each field. This is autogenerated along with the rest of the lib, so should remain up to date.

Impact

  • Are your changes backwards compatible? Y
  • Have you included documentation, or updated existing documentation? Y
  • Do errors and log messages provide enough context? Y

@PaulSonOfLars PaulSonOfLars merged commit 954c160 into v2 Feb 19, 2024
3 checks passed
@PaulSonOfLars PaulSonOfLars deleted the paul/update-gettype branch February 19, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant