Validates the initial input for TemplatedNode.templatedFields If no input is provided for a field, null is assigned as default value

Return

the initial value for TemplatedNode.templatedFields

Parameters

template

the initial associated template for the node to create

input

input of the create mutation, defines the initial value for the templated fields

Throws

if the value for a templated field is not compatible with its schema


Validates the initial input for TemplatedNode.templatedFields If no input is provided for a field, null is assigned as default value

Return

the initial value for TemplatedNode.templatedFields

Parameters

template

the initial associated template for the node to create

fields

initial templated fields

Throws

if the value for a templated field is not compatible with its schema