Skip to content

Instantly share code, notes, and snippets.

@mrroot5
Last active March 3, 2023 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrroot5/dbc9eec78939cca1d54dc7fafbd84f3b to your computer and use it in GitHub Desktop.
Save mrroot5/dbc9eec78939cca1d54dc7fafbd84f3b to your computer and use it in GitHub Desktop.
Import postman graphql absinthe

Import postman graphql absinthe

  • Go inside your container: docker exec -it <container_name> bash.
  • Generate sdl schema. Two ways:

This uses default application :schema configuration.

mix absinthe.schema.sdl

If :schema is not set you can specify it.

mix absinthe.schema.sdl --schema YourModuleSchema
  • Import schema:
    • Option 1: Import schema as raw text removing the first line coment: "Represents a schema" or similar.
    • Option 2: Follow this steps in postman.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment