We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6005e4 commit bc09f87Copy full SHA for bc09f87
src/NServiceBus.Storage.MongoDB/SynchronizedStorage/StorageSession.cs
@@ -112,9 +112,9 @@ public async Task AbortTransaction(CancellationToken cancellationToken = default
112
}
113
114
115
- public void StoreVersion<T>(int version) => contextBag.Set(typeof(T).FullName, version);
+ public void StoreVersion<T>(int version) => contextBag.Set(typeof(T).FullName!, version);
116
117
- public int RetrieveVersion(Type type) => contextBag.Get<int>(type.FullName);
+ public int RetrieveVersion(Type type) => contextBag.Get<int>(type.FullName!);
118
119
public Task CommitTransaction(CancellationToken cancellationToken = default)
120
{
0 commit comments