This monorepo contains packages for a few purposes, in varying states of completion:
See the (very rough) documentation.
lib
: containscore-plus
: Extensions around rescript-core.graphql
: Rescript bindings (and light wrappers) around the graphql javascript library.graphql-codegen
: Rescript bindings for writing graphql-codegen plugins in rescript
base-types
: Baseline Rescript codegen plugin. Generates enum and input types.operations
: Baseline Rescript codegen plugin. Generates variable and output types.test
: Runs generated codegen plugins
near-re-operation-file
: Planned output preset; thenear-operation-file
preset automatic generates Typescript imports, which need to be prevented with certain specific values in thepresetConfig
. Ideally, this would be a very similar equivalent that requires no special config.