Documentation Center

@dataProvider directive

Use this directive to define the JSON data source.

Arguments

dataSource
The source of the content JSON. Must be one of the following values:
ValueDescription
pipelinePageJSON Page content from the pipeline
pipelineComponentPresentationJSON Component Presentation content from the pipeline

Examples

Model example
type Query {
  getContent() : InternalContent @dataprovider(dataSource: pipelinePage)
}