Top Level Namespace
Defined Under Namespace
Modules: DateBook, StringExtension, SymbolExtensionCustom Classes: Ability, Calendar, Event, EventOccurrence, Schedule
Constant Summary collapse
- DateBookSchema =
GraphQL::Schema.define do # mutation(Types::MutationType) query(Types::QueryType) resolve_type(lambda do |_type, obj, _ctx| case obj when Calendar Types::CalendarType when Event Types::EventType when EventOccurrence Types::EventOccurrenceType else raise("Unexpected object: #{obj}") end end) end