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
Consider the library, with the generated ABI type of enum data_structures::order_change::OrderChangeType:
enum data_structures::order_change::OrderChangeType
// Namespaced to "data_structures.order_change" library; pub enum OrderChangeType { OrderOpened: (), OrderCancelled: (), OrderMatched: (), }
Incoming from the forum.
Currently, this type will match to a StructCoder due to the struct in the namespace.
StructCoder
struct
Should match to an EnumCoder.
EnumCoder
Our RegEx on ABI types should match to the start of the string.
The text was updated successfully, but these errors were encountered:
petertonysmith94
Successfully merging a pull request may close this issue.
Summary
Consider the library, with the generated ABI type of
enum data_structures::order_change::OrderChangeType
:Incoming from the forum.
Actual
Currently, this type will match to a
StructCoder
due to thestruct
in the namespace.Expected
Should match to an
EnumCoder
.Solution
Our RegEx on ABI types should match to the start of the string.
The text was updated successfully, but these errors were encountered: