Skip to main content
Answer

Unable to publish a data model with a new version through CDF FDM UI

  • March 22, 2023
  • 1 reply
  • 65 views

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!

}

Best answer by Anders Hafreager

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.

1 reply

Anders Hafreager
Practitioner

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.