Skip to main content
Seasoned ⭐️⭐️⭐️
Mar 22, 2023 7:49 PM UTC
Solved

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

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!

}

Anders Hafreager
Practitioner ⭐️⭐️⭐️
Mar 23, 2023 7:22 PM UTC

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 ⭐️⭐️⭐️
Practitioner ⭐️⭐️⭐️
Mar 23, 2023 7:22 PM UTC

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.