Urql: issue with codesandbox example

Created on 17 May 2018  路  4Comments  路  Source: FormidableLabs/urql

The GraphQL API is returning a 400 error in the sample code. I also recieved the same 400 when I tried it out inside GraphiQL as well as this apollo launchpad link.

below is just a quick gif showing it in action

urql codesandbox issue

good first issue 馃ぉ help wanted 鉀忥笍 high priority 馃挜

Most helpful comment

I think, its a backend issue. I forked the launch pad demo added an API token from TMDB and the frontend works fine as seen here https://codesandbox.io/s/r520rrlp04. Though the backend still has an issue with poster resolution which is due to failure of launchpad to detect the secrets

All 4 comments

Oh, I didn't know we had a CodeSandbox. @kenwheeler Mind checking this and bringing it up-to-date? 馃槄

I think, its a backend issue. I forked the launch pad demo added an API token from TMDB and the frontend works fine as seen here https://codesandbox.io/s/r520rrlp04. Though the backend still has an issue with poster resolution which is due to failure of launchpad to detect the secrets

yeah it looks like theres an issue with backend. If you use a different graphQL endpoint you can make the code sandbox work just as @dennisja has done.

v1 is released now which means this issue was resolved / is out-of-date 馃憣

Some docs and a proper announcement for v1 are still in progress in pending. It's completely usable so far but the API has changed, so I have to ask for some more patience, but everything will be ready quite soon 鉁岋笍

Was this page helpful?
0 / 5 - 0 ratings