-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Awesome work here! Reviewing the documentation, I don't see an immediately obvious option for being able to specify that a field may be one of a set of types. In Rust this would typically look like:
enum Variants {
ObjA(ObjA),
ObjB(ObjB),
}
I see that enum
s can be used for a known collection of ordered strings, and I see that there is also the any
type. Would the idea be to use a combination of those items within a struct?
Metadata
Metadata
Assignees
Labels
No labels