Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested child filters should be an attestable error #4775

Closed
leoyvens opened this issue Jul 20, 2023 · 2 comments · Fixed by #4828
Closed

Nested child filters should be an attestable error #4775

leoyvens opened this issue Jul 20, 2023 · 2 comments · Fixed by #4828
Assignees

Comments

@leoyvens
Copy link
Collaborator

leoyvens commented Jul 20, 2023

Right now a query such as:

{
  marketHourlySnapshots(where: {market_: {inputToken_: {symbol_not: "GHO"}}}) {
    market {
      inputToken {
        symbol
      }
  }
}

Will result in the error Store error: query execution failed: Child filters can not be nested, which is not attestable according to QueryExecutionError::is_attestable. We should make this attestable so the gateway can report it back to users.

@compojoom
Copy link

So is this a bug, or a missing feature?

@azf20
Copy link
Contributor

azf20 commented Aug 9, 2023

hey @compojoom a bit of both depending on the use case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants