You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using Hasura Actions to call several different REST APIs from our GraphQL interface, and it's working great. However, the development workflow is a bit manual, and I wanted to ask you all if there was a more streamlined approach to our situation.
We are currently accessing three separate REST APIs, each of which has an OpenAPI spec. I have tried using this package to convert the specs to GraphQL types, which we use for the typings of our Hasura Actions.
Is there a way to use this generated GraphQL within Hasura, without just pasting it into the console? Ideally we would like to do something like this:
Download OpenAPI spec, generate GraphQL types from it
Create Hasura Actions from the spec/types (not sure if this is possible, we're currently entering these types manually)
Download remote schema from Hasura, generate urql types and hooks used in our React and React Native applications
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Hasura community,
We are using Hasura Actions to call several different REST APIs from our GraphQL interface, and it's working great. However, the development workflow is a bit manual, and I wanted to ask you all if there was a more streamlined approach to our situation.
We are currently accessing three separate REST APIs, each of which has an OpenAPI spec. I have tried using this package to convert the specs to GraphQL types, which we use for the typings of our Hasura Actions.
Is there a way to use this generated GraphQL within Hasura, without just pasting it into the console? Ideally we would like to do something like this:
urql
types and hooks used in our React and React Native applicationsThanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions