You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to changes made in #396, version 1.8.8 throws the following error when paired with urql:
Uncaught TypeError: Cannot set property loc of #<Object> which has only a getter
at stringifyDocument (request.ts:74:19)
at hashDocument (request.ts:107:17)
at keyDocument (request.ts:136:48)
at createRequest (request.ts:171:17)
at useRequest.ts:20:21
at mountMemo (react-dom.development.js:16406:19)
at Object.useMemo (react-dom.development.js:16851:16)
at Object.useMemo (react.development.js:1650:21)
at useRequest (useRequest.ts:19:16)
at useQuery (useQuery.ts:225:19)
The introduced loc property tries to be set here by urql.
Maybe a setter for the loc property should be added as well.
Reproduction
Use urql and gql.tada version 1.8.8
gql.tada version
gql.tada v1.8.8
Validations
I can confirm that this is a bug report, and not a feature request, RFC, question, or discussion, for which GitHub Discussions should be used
Describe the bug
Due to changes made in #396, version
1.8.8
throws the following error when paired with urql:The introduced
loc
property tries to be set here by urql.Maybe a setter for the
loc
property should be added as well.Reproduction
Use urql and gql.tada version 1.8.8
gql.tada version
gql.tada v1.8.8
Validations
The text was updated successfully, but these errors were encountered: