You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is similar to #972 but specific to simple type with sinceVersion > 0
<sbe:messageSchemaxmlns:sbe="http://fixprotocol.io/2016/sbe"package="example"id="123"version="3"semanticVersion="5.0.0"byteOrder="littleEndian">
<types>
<typename="String4"length="4"primitiveType="char"semanticType="String"/>
<typename="String5"length="5"primitiveType="char"sinceVersion="2"semanticType="String"/>
<typename="String6"length="6"primitiveType="char"sinceVersion="3"semanticType="String"/>
<compositename="groupSize"description="Repeating group dimensions"semanticType="NumInGroup">
<typename="blockLength"primitiveType="uint16"/>
<typename="numInGroup"primitiveType="uint8"/>
</composite>
<compositename="messageHeader">
<typename="blockLength"primitiveType="uint16"/>
<typename="templateId"primitiveType="uint16"description="Template ID used to encode the message."/>
<typename="schemaId"primitiveType="uint16"description="ID of the system publishing the message."/>
<typename="version"primitiveType="uint16"description="Schema version."/>
</composite>
</types>
<sbe:messagename="SimpleMessage"id="1">
<fieldname="id"id="2"type="uint16"semanticType="Int"/>
<groupname="MyGroup"id="3"blockLength="15"dimensionType="groupSize">
<fieldname="f1"id="4"type="String4"offset="0"semanticType="String"/>
<fieldname="f2"id="5"type="String5"offset="4"semanticType="String"/>
<fieldname="f3"id="6"type="String6"offset="9"semanticType="String"/>
</group>
</sbe:message>
</sbe:messageSchema>
rust compiler complains with:
error[E0609]: no field `acting_version` on type `&simple_message_codec::decoder::MyGroupDecoder<P>`
--> src/simple_message_codec.rs:382:21
|
382 | if self.acting_version > 0 && self.acting_version < 2 {
| ^^^^^^^^^^^^^^ unknown field
|
= note: available fields are: `parent`, `block_length`, `count`, `index`, `offset`
I have a fix that will resolve this, will submit pull request
The text was updated successfully, but these errors were encountered:
This is similar to #972 but specific to simple
type
with sinceVersion > 0rust compiler complains with:
I have a fix that will resolve this, will submit pull request
The text was updated successfully, but these errors were encountered: