[GraphQL] allow to query dossiers by groupe instructeur
This commit is contained in:
parent
7e806f191c
commit
32f783142c
6 changed files with 149 additions and 0 deletions
|
@ -12,4 +12,5 @@ class GroupeInstructeur < ApplicationRecord
|
|||
before_validation -> { label&.strip! }
|
||||
|
||||
scope :without_group, -> (group) { where.not(id: group) }
|
||||
scope :for_api_v2, -> { includes(procedure: [:administrateurs]) }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue