0.0.9 • Published 3 years ago

graphql-julia-codegen v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

graphql-julia-codegen

image

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 in src
  • ./node_modules/typescript/bin/tsc to build
  • yarn publish to publish to npm