Right now record fields cannot be marked as nillable, and with the <total> attribute they must be defined. Is it possible to have an annotation for this? even if it doesn't do anything, it would be very very useful for annotating structs for recreating the same type in another language. I discovered I would need this feature due to the fact I am trying to use Teals lexer and parser from C++, and porting the types across has caused me to make every field optional, which is not optimal.
Right now record fields cannot be marked as nillable, and with the
<total>
attribute they must be defined. Is it possible to have an annotation for this? even if it doesn't do anything, it would be very very useful for annotating structs for recreating the same type in another language. I discovered I would need this feature due to the fact I am trying to use Teals lexer and parser from C++, and porting the types across has caused me to make every fieldoptional
, which is not optimal.