mix gen_schemas (proto_rune v0.1.2)
Generates Elixir code from Lexicon schema files.
Overview
- Complex types (
object
,record
) become their own modules with a struct and@type t
. - Primitive or “inline” types become
@type
s within a singleProtoRune.Types
module. - Queries/Procedures also generate minimal modules, mainly containing
@type input
and@type output
.
By default, code is written into lib/proto_rune
, but you can configure via --output-dir
.