As described in #21, the preview used to break when a StreamFieldInterface implementation fragment (like ... on ImageChooserBlock) is used in the page query.
The developer console would show an Apollo error message that is suggesting a solution. The possible solution is also mentioned #21 and comes down to the use if the IntrospectionFragmentMatcher from 'apollo-cache-inmemory'.
StreamFieldInterface implementation fragment (like ... on ImageChooserBlock) can now be used without issue.
Also, gatsby-source-filesystem is added to the dependencies since it is required in this plugin's gatsby-node.js.
As described in #21, the preview used to break when a StreamFieldInterface implementation fragment (like
... on ImageChooserBlock
) is used in the page query.The developer console would show an Apollo error message that is suggesting a solution. The possible solution is also mentioned #21 and comes down to the use if the
IntrospectionFragmentMatcher
from'apollo-cache-inmemory'
.StreamFieldInterface implementation fragment (like
... on ImageChooserBlock
) can now be used without issue.Also,
gatsby-source-filesystem
is added to the dependencies since it is required in this plugin'sgatsby-node.js
.Fixes #21