Skip to main content

Below works and the data model is published.

Data Model Version - 1

type Employee @view(version: "1"){

name: String

}

Next step

Below doesn't work and I get an error "Can not change the nullability of the property\n We do not support modifying a field's 'required'ness at the moment."

Data Model Version - 2

type Employee @view(version: "2"){

name: String!

}

Yep, we don’t support changing a property to be required (or from required to not required). It is a known limitation and on our list of improvements, but we don’t have a timeline for it unfortunately.


Reply