Goldorin v0.40.3 Goldorin.Absinthe.Schema View Source

Generate Absinthe Schema

Usage:

name = "q1"
doc = "hello world"
  params = [
    {:f1, :string, null: false, doc: "arg1"},
    {:f1, :string, null: true, doc: "arg2"},
]
return = :list_blocks
meta = notation: "OcapApi.GQL.Notation.Bitcoin", resolver: "OcapApi.GQL.Bitcoin.Resolver"
Goldorin.Absinthe.Schema.gen(mod_name, [name, doc, params, return], meta)

Link to this section Summary

Link to this section Functions

Link to this function

gen(mod_name, schemas, types, opts)

View Source