✨Discover storytelling in the AI age with Pixar's Matthew Luhn at Sanity Connect, May 8th—register now

Can a custom validation rule in Sanity trigger multiple times when editing a document?

3 replies
Last updated: Mar 14, 2024
Hi. I see that a custom validation rule may be triggered several times when edditting a document.
Is it ok to have a
inside the custom validation rule of a document?

dumb question: Does it count as API Request?
Mar 14, 2024, 12:06 AM
Nope! Calls from inside the Studio do not count toward your quota.
Mar 14, 2024, 12:07 AM
user M
Mar 14, 2024, 12:08 AM
You’re welcome!
Mar 14, 2024, 12:08 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?