-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
enhancementNew feature or requestNew feature or requestgroomedhacktoberfesthelp wantedExtra attention is neededExtra attention is neededsource-pluginMarking issues related to @kentico/gatsby-source-kontent.Marking issues related to @kentico/gatsby-source-kontent.up-for-grabs
Description
Motivation
Allow users to load data from more than one project.
Proposed solution
Extend a configuration object by the project identification property that would create the project-specific prefix for created Nodes.
Configuration example:
{
resolve: `gatsby-source-kentico-cloud`,
options: {
project1: {
deliveryClientConfig: {
projectId: `firstProjectGuid`,
},
languageCodenames: [
`en-US`,
`es-ES`,
]
},
project2: {
deliveryClientConfig: {
projectId: `secondProjectId`,
},
languageCodenames: [
`en-US`,
]
}
}
}
Possible workaround
Using Kontent Delivery API directly (or using JS SDK) without the GraphQL layer might work as a workaround:
https://www.gatsbyjs.com/docs/how-to/querying-data/using-gatsby-without-graphql/
jj-plane and tim-line
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgroomedhacktoberfesthelp wantedExtra attention is neededExtra attention is neededsource-pluginMarking issues related to @kentico/gatsby-source-kontent.Marking issues related to @kentico/gatsby-source-kontent.up-for-grabs