dooboolab-community/hackatalk

Old relay types are being used

hyochan opened this issue · 0 comments

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:

  1. Run local server in server directory.

  2. yarn generate && yarn relay.

  3. yarn web

  4. Send a message to someone then the error appears in subscription telling cannot find id of undefined.

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.