tinybase icon indicating copy to clipboard operation
tinybase copied to clipboard

Support ENUM types type={[a,b,c]} in a Schema

Open jamesgpearce opened this issue 3 years ago • 1 comments

As described

Via @founderYonz

jamesgpearce avatar Dec 12 '22 16:12 jamesgpearce

Related to this, is there a possibility that tinybase provides some kind of plugin for schema validation instead of relying solely on JSON Schema? I'd love to be able to use Zod instead and then ideally connect the inferred types back into the broader TS initiative

WonderPanda avatar Jan 17 '23 20:01 WonderPanda