Sha256: 3c966b4e7e1a05162d44a9e2fbd7a49ccb3d9d795f9220c8e54ea3f87d777e40
Contents?: true
Size: 333 Bytes
Versions: 16
Compression:
Stored size: 333 Bytes
Contents
module Mutations class Login < GraphqlDevise::Mutations::Login field :user, Types::UserType, null: true def resolve(email:, password:) original_payload = super do |user| user.do_something user.reload end original_payload.merge(user: original_payload[:authenticatable]) end end end
Version data entries
16 entries across 16 versions & 1 rubygems