You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use the gridsome-source-graphql source, the recommender plugin cannot find the specified option.typeName
The error message I receive is:
Gridsome v0.7.20
Initializing plugins...
gridsome-plugin-recommender: options.typeName 'craft' cannot be found - make sure the collection exists
I am using CraftCMS as a GraphQL data source. When I try to switch to the source-filesystem such as your example, then it does work, so I believe it's related to the async nature of retrieving the graphql data source and it not being loaded while the recommender loads in.
Here is an excerpt from my gridsome.config.js file which does not work.
The GraphQL plugin bypasses the collection layer where the gridsome-plugin-recommender hooks in and works direktly on the GraphQL layer.
In order to make that work you´d need to implement the whole logic on top of Graphql instead of collections, not sure if that is practical, although there seems to be a way to modify GraphQL nodes in a transformer
When I try to use the
gridsome-source-graphql
source, the recommender plugin cannot find the specifiedoption.typeName
The error message I receive is:
I am using CraftCMS as a GraphQL data source. When I try to switch to the
source-filesystem
such as your example, then it does work, so I believe it's related to the async nature of retrieving the graphql data source and it not being loaded while the recommender loads in.Here is an excerpt from my
gridsome.config.js
file which does not work.The text was updated successfully, but these errors were encountered: