Conversation
1ffd5a0 to
c58808d
Compare
c58808d to
ef25147
Compare
|
I guess that you didn't manage to make this workaround PR work, or the specs never passed? We are using a few unions in our graphql app, so I am getting those I tried using rmosolgo/graphql-ruby#3007 's branch in my app and still got the |
|
The problem is that lookahead does not support unions, and we build a cache key based on it. I feel like it's easier to find a different reliable way to build a key without the lookahead rather than try to fix it's behaviour. |
|
Any progress on this PR @DmitryTsepelev ? We also have quite a few instances of unions in our data model. I would love to use your cache offering, but that's kinda limiting us from further evaluation at this time. |
|
FYI I worked around the issue in my app by not using union types, and using interfaces instead. It seemed to mostly work. Unions and interfaces in GraphQL are very similar, so migrating required minimal effort. No changes were needed for the frontend / API consumer, since the |
No description provided.