add dossierChangerGroupeInstructeur mutation

This commit is contained in:
pedong 2020-02-21 11:57:36 +01:00
parent 13ab3b465e
commit 62f82cc83c
5 changed files with 114 additions and 1 deletions

View file

@ -30,6 +30,8 @@ class Api::V2::Schema < GraphQL::Schema
Types::PersonnePhysiqueType
when Etablissement
Types::PersonneMoraleType
when GroupeInstructeur
Types::GroupeInstructeurType
else
raise GraphQL::ExecutionError.new("Unexpected object: #{obj}")
end