Skip to content

Accessing a field with arguments in cache.readFragment #1147

Answered by JoviDeCroock
vitosamson asked this question in Q&A
Discussion options

You must be logged in to vote

Have you tried passing the variable to the thirth argument, the second is meant to be a describing entity and the thirth one is used to signal variables https://github.com/FormidableLabs/urql/blob/main/exchanges/graphcache/src/store/store.ts#L191

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@vitosamson
Comment options

@vitosamson
Comment options

@JoviDeCroock
Comment options

Answer selected by vitosamson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants