Releases
0.7.0
CHANGELOG
Added support for subscriptions as async generators.
Changed how fragments are handled to generate separate module with fragments as mixins.
Fixed ResultTypesGenerator
to trigger generate_result_class
for each result model.
Changed processing of models fields to trim leading underscores.
Added ShorterResultsPlugin
to standard plugins.
Fixed handling of inline fragments inside other fragments.
Changed generated unions to use pydantic's discriminated unions feature.
Replaced HTTPX's json=
serializer for query payloads with pydantic's pydantic_encoder
.
Removed mixin
directive from operation string sent to server.
Fixed ShorterResultsPlugin
that generated faulty code for discriminated unions.
Changed generator to ignore unused fragments which should be unpacked in queries.
Changed type hints for parse and serialize methods of scalars to typing.Any
.
Added process_schema
plugin hook.
You can’t perform that action at this time.