Module: ZeroRuby::TypeNames

Included in:
InputObject, Mutation
Defined in:
lib/zero_ruby/type_names.rb

Overview

Provides access to ZeroRuby::Types via the Types constant. Automatically included in Mutation and InputObject classes.

Examples:

Usage in mutations

class PostCreate < ZeroRuby::Mutation
  argument :id, Types::ID
  argument :title, Types::String
  argument :active, Types::Boolean
end

Constant Summary collapse

Types =
ZeroRuby::Types