gatsby-source-sanity icon indicating copy to clipboard operation
gatsby-source-sanity copied to clipboard

apiVersion = 1 results in Warning

Open logemann opened this issue 3 years ago • 1 comments

Since the plugin uses apiVersion = 1 which seems not the desired format of YYYY-MM-DD, we get the following warning:

Using the Sanity client without specifying an API version is deprecated. See https://docs.sanity.io/help/js-client-api-version

logemann avatar Aug 31 '21 00:08 logemann

Annoying warning messages are the worst, from what I can see v1 is hard-coded. Having a look at it now.

jfgilmore avatar Oct 01 '21 10:10 jfgilmore