Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

Is it okay to save a complex object without following a schema in Sanity.io?

2 replies
Last updated: Jan 24, 2024
Hey hey! Random question.
Would it be bad to have a complex object that I save into an entry, which is basically not following any schema? Think of it as a blob of data.

I'd like to do this so I can query the data inside of it with GROQ.

Just curious if there's any downside in terms of performance?
Jan 23, 2024, 9:58 PM
The backend is schemaless so you can plop data into your dataset without surfacing it in your Studio’s schema with no ill effect.
Jan 23, 2024, 10:40 PM
Thanks!
Jan 24, 2024, 6:00 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?