py-graphql-mapper

A python library for generating GraphQL queries and mutations using plain python objects, no hardcoded strings.Any questions or issues, please report here https://github.com/dapalex/py-graphql-mapper/issues

MIT License

Downloads
488
Stars
20
Committers
2

Bot releases are visible (Hide)

py-graphql-mapper - 1.1.2 Latest Release

Published by dapalex about 1 year ago

Changes

  • Extended visibility of fields feature allowing usage of symbol '*' in order to set same visibility for all fields in a type

Bug fixes

  • Operations not exported when payload is scalar type
  • List of custom scalar types unusable
py-graphql-mapper - 1.1.1

Published by dapalex over 1 year ago

Changes

  • Query types not recognition not anymore based on the conventional "Query" string definition but checking __schema -> QueryType -> name definition

Bug fixes

  • Queries having payload as list return only 1 element of the list: the issue has been solved, also the list type will not show anymore the element type fields
py-graphql-mapper - 1.1.0

Published by dapalex over 1 year ago

Various features and fixes

py-graphql-mapper - 1.0.0

Published by dapalex almost 2 years ago

Stable mapper:

  • Command Line Interface:
    • command generate: to generate python code from GraphQL Schema
    • command download: to download a schema in JSON from a GraphQL API
  • Code generator
  • pygqlmap: core of the library, maps python objects in GraphQL entities and viceversa