We’ve just released NServiceBus.Persistence.Sql 6.5.1.
- #883 Saga scripts generation improvement
When a saga correlation property is defined on a base class, script generation creates an invalid script as it’s missing the part about correlation id, but no build errors are raised.
If the saga is decorated with the
SqlSagaAttribute or inherits from
SqlSaga<T> then the build fails because the script generation throws an error that states that the correlation id property cannot be found. e.g. “SqlPersistenceTask: Error in ‘SampleSagaLibrary.SampleSaga’. Error:Expected type ‘SampleSagaLibrary.SampleSagaData’ to contain a property named ‘MyId’.”
If you are affected, you should upgrade.
You can install NServiceBus.Persistence.Sql 6.5.1 from NuGet.
The team in Particular
Please read our release policy for more details.