Validate IReminderTable during startup if any grains implement IRemindable#4280
Validate IReminderTable during startup if any grains implement IRemindable#4280ReubenBond wants to merge 3 commits intodotnet:masterfrom
Conversation
fc02360 to
8b6775b
Compare
|
@dotnet-bot test functional
|
|
Maybe we should table this approach and go for the lazy approach in the diff image above. EDIT: opened #4287 |
|
Let's close this one for now. The concern is that this might be too aggressive, and lead to unintended consequences in corner cases. |
Fixes #4278
This assumes that if the user adds some grain which implements
IRemindable, then that means they intend to use reminders. That assumption might not be true, but maybe we'll decide it's better to err on the side of caution.An alternative is late checking, like so:

I'm happy with either and looking for input.