Releases: denisart/graphql2python
Releases · denisart/graphql2python
v0.0.6
v0.0.5
New
[PR-13] Added derectives for query
Added the special class graphql2python.query.Directive for GraphQL field derectives. See https://denisart.github.io/graphql2python/query.html#directives
[PR-16] Added github actions for docs deploy
After publish a new tag the documentation page will be update: https://denisart.github.io/graphql2python
v0.0.4
Added special typename field to each rendered Interface and Object:
class Character(GraphQLBaseModel):
"""
An Interface type
See https://graphql.org/learn/schema/#interfaces
"""
appearsIn: _t.List[_t.Optional['Episode']]
id: 'ID'
character_name: 'String' = Field(..., alias='name')
friends: _t.Optional[_t.List[_t.Optional['Character']]] = Field(default_factory=list)
typename__: _t.Literal["Character"] = Field(default="Character", alias="__typename")
Update documentation