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

GraphQL: NPE with VALUES block #23

Open
Aklakan opened this issue Sep 24, 2024 · 0 comments
Open

GraphQL: NPE with VALUES block #23

Aklakan opened this issue Sep 24, 2024 · 0 comments

Comments

@Aklakan
Copy link
Member

Aklakan commented Sep 24, 2024

The following query fails because the variable analysis of a VALUES block fails. Explicitly declaring the variables works.

query test @debug {
  locations(limit: 5) @pattern(of: """
     VALUES ?x {
        <urn:s1> <urn:s2>
     }
     """) { # Works when adding from: "x", to: "x"
    id @bind(of: "?x")
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant