Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 858 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 858 Bytes

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