Connect to the SpaceX GraphQL API
In the Hasura Console click the Remote Schema tab and click
Add
The name can be anything you'd like, such as
SpaceXGraphql
, while the URL ishttps://api.spacex.land/graphql/
One type from the SpaceX schema conflicts with the schema Hasura generates so we need to fix that
Navigate to the modify tab and at the bottom click
Modify
Under
GraphQL Customizations
click Add and underRename Type Names
selectString_comparison_exp
, rename it something else likeString_comparison_exp_spacex
Did you find this page helpful?
Start with GraphQL on Hasura for Free
- Build apps and APIs 10x faster
- Built-in authorization and caching
- 8x more performant than hand-rolled APIs