The change in the requiredness of one of the field is not consistently validated across all the inherited types.
Below works and the data model is published.
Data Model Version - 1
interface Person @view(version: "1"){
name: String
}
type Actor implements Person @view(version: "1") {
name: String
didWinOscar: Boolean
}
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."
interface Person @view(version: "2"){
name: String!
}
type Actor implements Person @view(version: "2") {
name: String!
didWinOscar: Boolean
}
Next step
Below works
interface Person @view(version: "2"){
name: String
}
type Actor implements Person @view(version: "2") {
name: String!
didWinOscar: Boolean
}