graphql-julia-codegen
v0.0.9
Published
Generate Julia Types from GraphQL operations/schema
Downloads
2
Readme
graphql-julia-codegen
This is a cli that takes GraphQL queries and a GraphQL schema and generates Julia Named Tuples. Blog Post
Usage
npm install -g graphql-julia-codegen@latest
export github_access_token=YOUR_ACCESS_TOKEN
graphql-julia-codegen --source="src/" --destination="src/generated/" --endpoint="https://api.github.com/graphql" --header="Authorization:Bearer $github_access_token"
See https://github.com/laurium-labs/GithubGraphQLExample.jl for an example project that consumes the GitHub GraphQL api
Development
./bin/run
to run latest code insrc
./node_modules/typescript/bin/tsc
to buildyarn publish
to publish to npm