hey - running into an issue where I’ve created a `...
# prisma-whats-new
w
hey - running into an issue where I’ve created a
User
, then after the fact I added a new optional field
test
in
datamodel.graphql
and re-ran prisma deploy. Now when I am query any User, I get the error
[GraphQL error]: Message: Cannot query field 'test' on type 'User'. (line 8, column 5):
Is there something weird in that I added a field after data was created? Or is this something else?
k
@wesbos maybe in your schema.graphql you're not adding the
test
on the
User
type?
w
I tried that too, but it shoudn’t matter if its in schema or not since im just trying to query it in my yoga server, right?
@kitze
k
Your yoga server is querying from schema.graphql
so if it’s not in schema.graphql, it won’t be found
@wesbos