mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
ENT-11245 Catch and transform new enum type value. (#7596)
This commit is contained in:
parent
59ff476a40
commit
8f87b2060b
@ -80,7 +80,8 @@ sealed class FetchDataFlow<T : NamedByHash, in W : Any>(
|
||||
// against not having unknown by using the platform version as a guard.
|
||||
@CordaSerializationTransformEnumDefaults(
|
||||
CordaSerializationTransformEnumDefault("BATCH_TRANSACTION", "TRANSACTION"),
|
||||
CordaSerializationTransformEnumDefault("UNKNOWN", "TRANSACTION")
|
||||
CordaSerializationTransformEnumDefault("UNKNOWN", "TRANSACTION"),
|
||||
CordaSerializationTransformEnumDefault("TRANSACTION_RECOVERY", "TRANSACTION")
|
||||
)
|
||||
@CordaSerializable
|
||||
enum class DataType {
|
||||
|
Loading…
Reference in New Issue
Block a user