I recently added a new boolean attribute to my org table. I checked with prisma studio to verify that I added the column correctly and tried to mutate it, which worked perfectly. I am now trying to query that value to use it in my code, but I keep receiving "Network error: Response not successful: Received status code 400". I also received this message in the response: "Cannot query field "inboxEnabled" on type "Organization"."
My query is:
import gql from 'graphql-tag'
export default gql`
query Organization ($id: ID!) {
organization (id: $id) {
id
inboxEnabled
}
}
`
Out of ideas, I tried to query a different boolean attribute to see if I obtained the same error but it worked just fine. I've done prisma db push and prisma generate multiple times and re-started the back-end to no avail.