Adzz / data_schema

Declarative schemas for data transformations.
Apache License 2.0
86 stars 9 forks source link

Enums aka discriminated unions ... ? #30

Open Adzz opened 2 years ago

Adzz commented 2 years ago

Should we add this capability. If so how. Some options:

  1. a new field type
  2. handle it in the cast fns (not good).

If we have them we also presumably need to allow list of enums.