Hey, quick question which hopefully someone will k...
# prisma-whats-new
m
Hey, quick question which hopefully someone will know the answer to. I recently switched over to Apollo and I keep getting the error
You're using fragments in your queries, but either don't have the addTypename: true option set in Apollo Client, or you are trying to write a fragment to the store without the __typename.
When I google it from what I can tell it should automatically be taken care of. Do I have to add
__typename
to all of my fragments or something?
h
or enable the option
m
I tried that but it didn't seem to fix it
n
if you activated
addTypename
and it doesn't work, this looks like a bug. You can probably get help by posting here: https://github.com/apollographql/apollo-client/issues