PricingBlog

GraphQL Variables

  • gokermu-1264656487171494080

    gokermu

    1 year ago

    Hey everyone,

    I'm totally new to this, but I'm stoked to get started with Toddle. I want to connect to a third-party app using GraphQL. I checked out the tutorial on YouTube, and I managed to get the basics working, but I'm stuck on how to set variables in GraphQL in Toddle.

    I have a variable in my query called "limit." Does anyone know how to set this in Toddle other than the query itself?
    1264656487285002290-image.png
    1
  • gokermu-1264657226317037692

    gokermu

    1 year ago

    Ok i think i figured it out.
  • for future, you need to edit the Body of your query. Check the network activity as shown in the tutorial and try to replicate what's there in Toddle.
  • In my case, It was like above.
    1264657580915953764-image.png
    1264657581218201661-image.png
  • andreasmoller-1264807342893957151

    Andreas Møller

    1 year ago

    👍
    ❤️2
  • Adding a GraphQL query editor to toddle is on my wish list, but I don’t know when we will get to it:)