OrleansContrib / Orleans.Providers.MongoDB

A MongoDb implementation of the Orleans Providers: Membership, Storage and Reminders.
MIT License
105 stars 44 forks source link

Add RecordExists support #85

Closed AlseinX closed 3 years ago

AlseinX commented 3 years ago

Simply sets grainState.RecordExists to the expected value to make the IPersistentState.RecordExists API work properly.

AlseinX commented 3 years ago

@SebastianStehle Can you please publish a new nuget package to ship this change? It could be safely shipped as a new patch version (such as 3.2.1) that won't break any versioning policy. Because the 3.2 version already depends on Orleans version 3.3 that has RecordExists API, and using that API with mongodb storage provider configured would result in unexpected and undocumented behavior, which means supporting this API would not be considered as a feature update but a bugfix.