graphql-client
graphql-client copied to clipboard
[RFE] A new attribute to suppress `Other` enum variants
Sometimes a deserialization error would be better than having to deal with unknown types. It also allows enums to impl Copy.
This seems doable and desirable. What should the option be named? I am thinking of something like enums_no_other_variant.
Sounds fine to me.