jof
02/19/2018, 7:34 PMdeploy hangs when I make a field that was previously optional now required and where there's already data which was entered prior to the field being required... Is there a way to run migrations on the database or something to fix this? I.e.
myThingInDatabase = {blah: "Asd"}
type Thing {
blah: String
foo: String
}
===>
myThingInDatabase = {blah: "Asd"}
type Thing {
blah: String
foo: String!
}
`
^ Hangs on deployTaylor
02/19/2018, 7:53 PMfoo: String! to the Thing type and the deploy is failing?lawjolla
02/19/2018, 7:54 PMjof
02/19/2018, 7:55 PMjof
02/19/2018, 7:55 PMjof
02/19/2018, 7:55 PMjof
02/19/2018, 7:56 PM! to foo.lawjolla
02/19/2018, 7:56 PMfoo cannot be nullTaylor
02/19/2018, 7:56 PM@defaultValue(value: "bar")Taylor
02/19/2018, 7:57 PMfoo: String! @defaultValue(value: "bar")Taylor
02/19/2018, 7:58 PM@defaultValue(value: "bar")jof
02/19/2018, 7:59 PMjof
02/19/2018, 7:59 PMTaylor
02/19/2018, 8:00 PMnilan
02/21/2018, 10:20 AMnilan
02/21/2018, 10:21 AM@default, not @defaultValue