Skip to main content
Solved

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

  • 22 March 2023
  • 1 reply
  • 51 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.

View original

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.


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings