lewisblackwood
07/02/2018, 3:15 PMfieldOne
, the CLI will show it being successfully added and graphql get-schema --project database
running as a hook. However, the prisma.graphql
file doesn't show the new field and the database isn't updated. If I add another field, e.g. fieldTwo
, and deploy, then fieldOne
is now added and the prisma.graphql
shows it as a field. It's like the deploys are one step behind the changes to my data model. Has anyone seen anything similar?nilan
07/03/2018, 1:57 PMnilan
07/03/2018, 1:57 PMlewisblackwood
07/16/2018, 1:55 PMChanges:
MyModel (Type)
- Deleted field `field`
If I look at the generated prisma.graphql
I'll see:
type MyModel implements Node {
id: ID!
field: String
}
lewisblackwood
07/16/2018, 1:56 PMnilan
07/16/2018, 2:30 PMgraphql get-schema --project database
in your CLI?lewisblackwood
07/16/2018, 2:39 PMsrc/generated/prisma.graphql
stays the samenilan
07/16/2018, 2:40 PMnilan
07/16/2018, 2:40 PM.graphqlconfig.yml
look like?nilan
07/16/2018, 2:40 PMgraphql -v
?nilan
07/16/2018, 2:41 PMprisma.graphql
uptodate or is it outdated?