Skip to content

Instantly share code, notes, and snippets.

@sachindayl
Last active April 17, 2022 02:53
Show Gist options
  • Select an option

  • Save sachindayl/33f451573e43078ca434ab754077cf81 to your computer and use it in GitHub Desktop.

Select an option

Save sachindayl/33f451573e43078ca434ab754077cf81 to your computer and use it in GitHub Desktop.
[GraphQL Commands] Commands to help with GraphiQL in Python #graphql #python

Mutation exampls

mutation addAddressAsEntry {
  addAddress(address:{
    id:1,
    address1: "Test",
    address2: "Test2",
    city: "City",
    state: "OH",
    zip: "12134",
  })
}

Export schema

strawberry export-schema app_main:schema > app/database/schemas/graphql/schema.graphql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment