clentfort / urql-custom-scalars-exchange

MIT License
36 stars 20 forks source link

Doesn't work with fragments yet #6

Closed brabeji closed 3 years ago

brabeji commented 3 years ago

Just a heads up after bumping into this. The implementation doesn't yet take into account the existence of GraphQL fragments.

clentfort commented 3 years ago

Hi, could you provide me with some example query and data from server so it's easier to recreate and fix?

brabeji commented 3 years ago

Hi @clentfort, here is the demo of the problem https://codesandbox.io/s/happy-wood-2yi2r?file=/src/App.tsx Sorry to take so long to answer.

clentfort commented 3 years ago

Hey @brabeji thanks for the example and sorry for the late response. Could you see if the changes in #9 solve the problem for you?

clentfort commented 3 years ago

Released as 0.1.4