Wednesday, 23 March 2022

how to import graphql schema to graphene-python program?

How do I import an existing graphql schema (example below) into a graphene program instead of defining classes in python to create the schema?

type Hello {
   name: String
}
type Query {
  hello: Hello!
}

schema {
  query: Query
}


from how to import graphql schema to graphene-python program?

No comments:

Post a Comment