[GraphQL] modifier annotation
This commit is contained in:
parent
e0f7f1f20c
commit
9ce07be1ee
11 changed files with 625 additions and 3 deletions
|
@ -0,0 +1,17 @@
|
|||
module Mutations
|
||||
class DossierModifierAnnotationIntegerNumber < Mutations::DossierModifierAnnotation
|
||||
description "Modifier l’annotation au format nombre entier."
|
||||
|
||||
argument :value, Int, required: true
|
||||
|
||||
def resolve(dossier:, annotation_id:, instructeur:, value:)
|
||||
resolve_with_type(
|
||||
:integer_number,
|
||||
dossier,
|
||||
annotation_id,
|
||||
instructeur,
|
||||
value
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue