@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:
Value Description pipelinePageJSON Page content from the pipeline pipelineComponentPresentationJSON Component Presentation content from the pipeline
Examples
- Model example
-
type Query { getContent() : InternalContent @dataprovider(dataSource: pipelinePage) }