Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

is there a way to get query variables in errorFormatter? #980

Unanswered
capaj asked this question in Q&A
Discussion options

 errorFormatter: (res, ctx) => {
 console.log(ctx.__currentQuery)
 return errResponse
 } 

with this I can access the current query, but that does not always paint the whole picture. Is there a way to access query variables?

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

Likely, but I don't know how.

You must be logged in to vote
1 reply
Comment options

so I guess you would accept a PR to add this, right?

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

AltStyle によって変換されたページ (->オリジナル) /