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
When a EnumTupleVariantTypeNode contains a single item in the enum, we should transform the data enum helper such that it requires that item's value directly instead of having to wrap it in an array.
When a
EnumTupleVariantTypeNode
contains a single item in the enum, we should transform the data enum helper such that it requires that item's value directly instead of having to wrap it in an array.For instance, consider the following enum:
Then instead of generating the following helper:
We could simplify it to:
The text was updated successfully, but these errors were encountered: