urql icon indicating copy to clipboard operation
urql copied to clipboard

@urql/exchange-populate: fragments breaking in versions >=0.2.0

Open zachasme opened this issue 5 years ago • 1 comments

The populate exchange is causing TypeErrors after upgrading from 0.1.8. I've made a sandbox reproducing the issue. It only throws when using a fragment with nested fields. If I remove projectMemberships from the fragment or downgrade @urql/exchange-populate it does not throw.

urql version & exchanges:

  • urql 1.11.2
  • @urql/exchange-populate 0.2.1

Steps to reproduce

  1. Open this sandbox reproducing the issue
  2. Select a @urql/exchange-populate version above >=0.2.0.

Expected behavior No observable changes in behavior.

Actual behavior image

zachasme avatar Nov 12 '20 15:11 zachasme

Ready to be picked up but may not be addressed immediately if #964 is also ready to be worked on

kitten avatar Nov 18 '20 18:11 kitten