Sha256: 9cebcb8a8ee7cf4969c536514606c27264a3c80ce3ed271a9d995558788ae936
Contents?: true
Size: 354 Bytes
Versions: 2
Compression:
Stored size: 354 Bytes
Contents
require "dry-struct" require "kanji/types" module Kanji class Type class Mutation < Dry::Struct::Value attribute :name, Kanji::Types::String attribute :return_type, Kanji::Types::Class attribute :arguments, Kanji::Types::Strict::Array.member(Kanji::Type::Argument) attribute :resolve, Kanji::Types::Class end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kanji-web-0.2.0 | lib/kanji/type/mutation.rb |
kanji-web-0.1.0 | lib/kanji/type/mutation.rb |