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

Add TryGetReminder to actor SDK #1465

Open
WhitWaldo opened this issue Feb 21, 2025 · 0 comments · May be fixed by #1470
Open

Add TryGetReminder to actor SDK #1465

WhitWaldo opened this issue Feb 21, 2025 · 0 comments · May be fixed by #1470
Assignees
Labels
Milestone

Comments

@WhitWaldo
Copy link
Contributor

WhitWaldo commented Feb 21, 2025

Describe the feature

It's useful to know if a reminder already exists or not. Matching the syntax of new state methods, adding the TryGet* method here maintains consistency and provides definite feedback as to whether a given reminder already exists or not (without deciphering what null value means, especially as this package doesn't support nullability annotations).

This returns a ConditionalValue which contains a HasValue boolean property and a Value TValue property. If there's a reminder available, HasValue will be set to true and the Value property will contain the reminder info. If not, HasValue will be set to false and the Value property will be populated with a null value.

Release Note

RELEASE NOTE: ADD Added TryGetReminder method to return whether the reminder exists or not and its value, if it does.

@WhitWaldo WhitWaldo added this to the v1.15 milestone Feb 21, 2025
@WhitWaldo WhitWaldo self-assigned this Feb 21, 2025
@WhitWaldo WhitWaldo linked a pull request Feb 22, 2025 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant