Skip to content

geoivannikov/graphql_codegen

Repository files navigation

GraphQL code generator

Usage

To run script with default arguments:

python main.py

Help with usage arguments for script:

python main.py -h

Example of using a script with custom arguments:

python main.py -p kotlin -d ./dest/kotlin_dest_folder -src ./graphQLExample.graphql

In this case, the script generates kotlin files according to GraphQL samples from graphQLExample.graphql file and put them in ./dest/kotlin_dest_folder folder

Testing

To test code:

cd tests/
py.test

Coverage_report

To see coverage report:

open coverage_html/index.html

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published