We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate and use data classes in addition to or instead of StructType. Currently we use dicts, which isn't great.
StructType
For example, in the following generated code, create a data class for the StructType.
class ESITypes: I3 = IntType(3, False) I3.capnp_name = "I3" I64 = IntType(64, False) I64.capnp_name = "I64" Struct16871797234873963366 = StructType({'address': IntType(3, False), 'data': IntType(64, False)}) Struct16871797234873963366.capnp_name = "Struct16871797234873963366" I0 = IntType(0, False) I0.capnp_name = "I0"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Generate and use data classes in addition to or instead of
StructType
. Currently we use dicts, which isn't great.For example, in the following generated code, create a data class for the
StructType
.The text was updated successfully, but these errors were encountered: