ricokahler / sanity-codegen

Generate TypeScript types from your Sanity.io schemas
sanity-codegen-dev.vercel.app
MIT License
270 stars 19 forks source link

Found nested document type #291

Open Davste93 opened 1 year ago

Davste93 commented 1 year ago

Hi,

I saw this line: throw new Error('Found nested document type');

Currently it's causing codegen to blow up. Is it considered a problem or bad practice to have nested documents inside the schema, or just that this library doesn't have that feature yet?