mirumee / ariadne-codegen

Generate fully typed Python client for any GraphQL API from schema, queries and mutations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to use `remote_schema_headers` ?

dd-ssc opened this issue · comments

I don't understand how to configure remote_schema_headers in pyproject.toml.

Something like

[tool.ariadne-codegen]
schema_path = "schema.graphql"
queries_path = "queries.graphql"
remote_schema_headers = {"Authorization" = "Bearer: token"}

isn't even valid toml.

Could anyone kindly share an example ?

Sorry, my bad. Never mind.