Skip to content

__typename disappeared upon cache read of array query #1268

@hoangvvo

Description

@hoangvvo

Happy New Year!

When reading a query of array from cache (either using client.readQuery or on component remount), __typename is disappeared.

urql version & exchanges:

"urql": "^1.11.4"
"@urql/exchange-graphcache": "^3.3.3",

Steps to reproduce

https://github.com/hoangvvo/urql-array-query-bug

__typename should not dissapear.

Actual behavior

urql array bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Oh no! A bug or unintented behaviour.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions