sanity-codegen icon indicating copy to clipboard operation
sanity-codegen copied to clipboard

Allow variables in sanity client query

Open ricokahler opened this issue 4 years ago • 0 comments

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

ricokahler avatar Dec 28 '20 06:12 ricokahler