The UnregisterReminder takes IGrainReminder but actually requires ReminderData.
|
var remData = (ReminderData)reminder; |
This is inconvenient as the ReminderData type is internal and only acquirable via GetReminder which involves often unnecessary database(IReminderTable) call. I propose either to make ReminderData type public or changing the API and the implementation in such way that consumers of the API are able to construct the type required by the method manually.
The
UnregisterRemindertakesIGrainReminderbut actually requiresReminderData.orleans/src/Orleans.Reminders/ReminderService/LocalReminderService.cs
Line 155 in c846cb0
This is inconvenient as the
ReminderDatatype is internal and only acquirable viaGetReminderwhich involves often unnecessary database(IReminderTable) call. I propose either to makeReminderDatatype public or changing the API and the implementation in such way that consumers of the API are able to construct the type required by the method manually.