Old relay types are being used
hyochan opened this issue · 0 comments
hyochan commented
Specify project
Client
Describe the bug
I've realized that our relay types are not generated to our recent schema. This can be regenerated by
yarn generate && yarn relay`.
However, some resolvers break after updating them. I've tried this in #467 and you can see the commit 7a07d9e.
To Reproduce
Steps to reproduce the behavior:
-
Run local server in
server
directory. -
yarn generate && yarn relay
. -
yarn web
-
Send a message to someone then the error appears in subscription telling cannot find
id
ofundefined
.
Expected behavior
No error when sending a message. I am afraid if other resolvers
also break. We need to compare each resolver type with schema.graphql
.