graphql debugging query snippet




Think this is a great way to see if there's data coming back from a client side query component.

It could look like this. I copied from Apollo site. :)

client
  .query({
    query: gql`
      {
        rates(currency: "USD") {
          currency
        }
      }
    `
  })
  .then(result => console.log(result));

Comments

Popular posts from this blog

vllm : Failed to infer device type

android studio kotlin source is null error

gemini cli getting file not defined error