Closed honzatrtik closed 7 years ago
I'd like to be as DRY as possible and do not replicate enum Members Is something like this possible to do in MSON:
## TypeEnum (enum[string]) + Members + `type_1` + `type_2` + `type_3` ## SomeObject (object) + `type_name` (TypeEnum, required) ## SomeOtherObject (object) + `other_type_name` (TypeEnum, required)
Thanks!
Yes, this is valid MSON.
You will have to use ## Members though.
## Members
Oh, I see! Thanks for the explanation!
I'd like to be as DRY as possible and do not replicate enum Members Is something like this possible to do in MSON:
Thanks!