We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gatsbyImageData
1 parent e1b1627 commit d577261Copy full SHA for d577261
gatsby-source-graphcms/src/gatsby-node.js
@@ -358,13 +358,16 @@ export function createResolvers(
358
359
createResolvers({
360
[typeName]: {
361
- gatsbyImageData: getGatsbyImageResolver(resolveGatsbyImageData, {
362
- quality: {
363
- type: 'Int',
364
- description:
365
- 'The default image quality generated. This is overridden by any format-specific options.',
366
- },
367
- }),
+ gatsbyImageData: {
+ ...getGatsbyImageResolver(resolveGatsbyImageData, {
+ quality: {
+ type: 'Int',
+ description:
+ 'The default image quality generated. This is overridden by any format-specific options.',
+ },
368
+ }),
369
+ type: 'JSON',
370
371
},
372
})
373
}
0 commit comments