From cf4ffc9d919200e05e1bf64fb290f4ebb7b1822b Mon Sep 17 00:00:00 2001 From: LWogan Date: Mon, 14 Aug 2023 07:47:59 +0100 Subject: [PATCH] CORE-15747 make SessionInit nullable --- .../avro/net/corda/data/flow/event/session/SessionData.avsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/avro-schema/src/main/resources/avro/net/corda/data/flow/event/session/SessionData.avsc b/data/avro-schema/src/main/resources/avro/net/corda/data/flow/event/session/SessionData.avsc index 93993d54df..d92838430d 100644 --- a/data/avro-schema/src/main/resources/avro/net/corda/data/flow/event/session/SessionData.avsc +++ b/data/avro-schema/src/main/resources/avro/net/corda/data/flow/event/session/SessionData.avsc @@ -13,7 +13,8 @@ }, { "name": "sessionInit", - "type": "net.corda.data.flow.event.session.SessionInit" + "type": ["null", "net.corda.data.flow.event.session.SessionInit"], + "doc": "Contains information that can be used to start an initiated flow, piggybacked on initial data messages. Will be null for messages sent to the initiator. Will be null when initiated party is confirmed to be present via receipt of any data message previously." } ] }