Restored lazy nodes resolvers for all nodes in previews. Because of the default preview preset, removing lazy nodes in the last version from everything except media item nodes ended up breaking previews that previously relied on things working this way. So in preview mode lazy nodes in resolvers is restored.
In Previews when the schema changed all nodes were being refetched. This is only desireable when the code also changes, because previews have no way to automatically adapt to schema changes. Schema updates in previews no longer refetch all nodes.
New Features
Added a preview debug mode which outputs relevant information for debugging Previews.
Added a debug option to print the diff of the previous and next schema to the terminal output when the remote schema changes. This option is automatically enabled in preview debug mode.
From the plugin options docs:
debug.graphql.printIntrospectionDiff: Boolean
When this is set to true it will print out the diff between types in the previous and new schema when the schema changes. This is enabled by default when debug.preview is enabled.
Bug Fixes
New Features
From the plugin options docs:
debug.graphql.printIntrospectionDiff: Boolean
When this is set to true it will print out the diff between types in the previous and new schema when the schema changes. This is enabled by default when
debug.preview
is enabled.Default is
false
.and:
debug.preview: Boolean
When set to true, this option will display additional information in the terminal output about the running preview process.
Default is
false
.