Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 1.8 KB

README.md

File metadata and controls

56 lines (35 loc) · 1.8 KB

lacinia

This project generates a native binary image of a simple program using lacinia, a GraphQL server implementation in pure Clojure

Usage

Configure with:

make deps

Re-run this step after changing any project dependencies.

The simple.schema class reads files from disk, so native-image must be run with the -H:ResourceConfigurationFiles option set to clinit.d/resource-config.json (as project.clj should be doing already).

More information here.

Test with:

make

The program will print the results of a simple GraphQL query.

Results

simple.main

  • [com.walmartlabs.lacinia :as lacinia]

simple.schema

  • [com.walmartlabs.lacinia.util :as util]
  • [com.walmartlabs.lacinia.schema :as schema]

Notes