I have attached file which have query.
I tried strapiUspDataDoesnotWork
query but does not work. it’s give me error: Cannot query field "USP" on type "STRAPI_USPLocalizationsDataAttributes".", If I run query like this strapiUspDataDoesWork
then it is works. and i have same query formate for collection type strapiTranslationDataWork
then it works for that.
so can you please help into USP query? I want to make same as translation collection query strapiTranslationDataWork
.
gatsby-config.ts
` resolve: ‘gatsby-source-strapi’,
options: {
collectionTypes: [
{
singularName: ‘translation’,
queryParams: { populate: ‘deep’},
}
],
singleTypes: [
{
singularName: ‘usp’,
pluginOptions: {
queryParams: {
populate: ‘deep’,
},
},
]
`
This topic has been created from a Discord post (1303001756271251466) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord