Webql.Schema (webql v0.1.0-alpha.1)

Copy Markdown

The primary WebQL schema.

Examples

defmodule MyApp.Schema do
  use Webql.Schema

  ports [:string, :int, :float]
  operations [MyApp.Schema.MathOperation]
end

Options

  • :extensions (list of module that adopts Spark.Dsl.Extension) - A list of DSL extensions to add to the Spark.Dsl

  • :otp_app (atom/0) - The otp_app to use for any application configurable options

  • :fragments (list of module/0) - Fragments to include in the Spark.Dsl. See the fragments guide for more.