cypriss / mutations

Compose your business logic into commands that sanitize and validate input.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validate mutation without executing?

elfassy opened this issue · comments

Is it possible to validate a mutation without running the execute block? Thanks!

nevermind, figured it out :)

SomeMutation.new(hash).validation_outcome.errors