Skip to content

0.11

Compare
Choose a tag to compare
@mat-sop mat-sop released this 05 Dec 15:11
· 111 commits to main since this release
184f9f2

CHANGELOG

  • Removed model_rebuild calls for generated input, fragment and result models.
  • Added NoReimportsPlugin that makes the __init__.py of generated client package empty.
  • Added include_all_inputs config flag to generate only inputs used in supplied operations.
  • Added include_all_enums config flag to generate only enums used in supplied operations.
  • Added operationName to payload sent by generated client's methods.
  • Fixed base clients to pass mypy --strict without installed optional dependencies.
  • Renamed GraphQlClientInvalidResponseError to GraphQLClientInvalidResponseError (breaking change).
  • Changed base clients to raise GraphQLClientGraphQLMultiError for payloads with errors key but no data (breaking change).