Skip to content

Latest commit

 

History

History

lacinia

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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