sanity-codegen
sanity-codegen copied to clipboard
Allow variables in sanity client query
The first-party @sanity/client
allows variables to be added via a second parameter to client.fetch
. Sanity code-gen's client should support that as well so that the groq
tagged template literals can be used for syntax highlighting