You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
CHANGELOG
Added support for Upload scalar. Added support for file uploads to AsyncBaseClient and BaseClient.
Added validation of defined operations against the schema.
Removed mixin directive from fragment string included in operation string sent to server.
Added support for mixin directive on fragments definitions.
Added support for fragments defined on subtype of field's type.
Added default representation for a field name consisting only of underscores.
Changed generated client and models to use pydantic v2.
Changed custom scalars implementation to utilize pydantic's BeforeValidator and PlainSerializer. Added scalars_module_name option. Replaced generate_scalars_parse_dict and generate_scalars_serialize_dict with generate_scalar_annotation and generate_scalar_imports plugin hooks.
Unified annotations in generated client to be compatible with python < 3.9.
Fixed generating default values of input types from remote schemas.
Changed generating of input and result field names to add _ to names reserved by pydantic.