Sha256: 81b903395f5fa0ac25d80e9187fc1ff93de7fbf895d060ce6fab8aa4a45f2144
Contents?: true
Size: 309 Bytes
Versions: 7
Compression:
Stored size: 309 Bytes
Contents
module Mutations class SignUp < GraphqlDevise::Mutations::SignUp argument :name, String, required: false field :user, Types::UserType, null: true def resolve(email:, **attrs) original_payload = super original_payload.merge(user: original_payload[:authenticable]) end end end
Version data entries
7 entries across 7 versions & 1 rubygems