Skip to content

Releases: denisart/graphql2python

v0.0.6

15 Dec 11:55
Compare
Choose a tag to compare

New

[PR-18] License file to header of rendered data-model

[PR-19] Moved query sub-package to https://github.com/denisart/graphql-query

[PR-20] Updated documentation

v0.0.5

09 Dec 13:55
Compare
Choose a tag to compare

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

08 Dec 17:45
Compare
Choose a tag to compare

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

v0.0.3

v0.0.2

06 Dec 10:34
Compare
Choose a tag to compare

Add pydantic model generation

v0.0.1

28 Nov 14:53
Compare
Choose a tag to compare

Create first release of this project. More info will be in new release notes...