From 3cda6b7d6282682c9ec921f3565dd63667ce89ce Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Mon, 25 Jul 2022 18:41:53 +0200 Subject: [PATCH] chore(graphql): expose service#siret --- app/graphql/schema.graphql | 1 + app/graphql/types/service_type.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/app/graphql/schema.graphql b/app/graphql/schema.graphql index 5e8d05227..30786f95c 100644 --- a/app/graphql/schema.graphql +++ b/app/graphql/schema.graphql @@ -1990,6 +1990,7 @@ type Service { id: ID! nom: String! organisme: String! + siret: String typeOrganisme: TypeOrganisme! } diff --git a/app/graphql/types/service_type.rb b/app/graphql/types/service_type.rb index 71b8c7b0d..e70d9df27 100644 --- a/app/graphql/types/service_type.rb +++ b/app/graphql/types/service_type.rb @@ -11,5 +11,6 @@ module Types field :nom, String, null: false field :type_organisme, TypeOrganisme, null: false field :organisme, String, null: false + field :siret, String, null: true end end