Hi
I have created a graphql query in my query library with a single argument. The argument lists as a variable. The query runs successfully in the query library.
However, when I add the query to my app in the bottom panel of my app editor by selecting import query from query library, I am unable to see the variable. Instead the message: "This query has no inputs". This means I am unable to bind the query input to the component value in my app.
I'm not sure what I'm doing wrong - any advice would be greatly appreciated.
Ben
Hey @bensullivan!
When you create the query are you also passing in a variable name using {{}}
?
![](https://downloads.intercomcdn.com/i/o/787201602/0a128a2ca7b523a6ab1b0687/image.png)
GraphQL queries are a bit tricky because you need to both define a variable in the GraphQL code and then define a variable again in the query library UI. It looks like there may be a bug where the variable doesn't show up correctly in the right panel as it normally should:
![](https://downloads.intercomcdn.com/i/o/787201975/e03646a210dbd159b50796d9/image.png)
With some testing, it looks like it does still show up in the app despite it not being there though:
![](https://downloads.intercomcdn.com/i/o/787202758/d52d298bf6831bb2ef7c2e95/image.png)
Can you let me know how much that overlaps with what you're seeing?