From a7109b9f45eed461241cc94db65523c4e62137a9 Mon Sep 17 00:00:00 2001 From: William Nolin Date: Fri, 19 Mar 2021 20:54:44 -0400 Subject: [PATCH] =?UTF-8?q?Le=20@JsonIgnore=20sur=20la=20propri=C3=A9t?= =?UTF-8?q?=C3=A9=20"employees"=20des=20groupes=20=C3=A0=20cesser=20de=20f?= =?UTF-8?q?onctionner,=20causant=20une=20boucle=20infinie=20lors=20de=20la?= =?UTF-8?q?=20s=C3=A9rialisation=20d'un=20groupe.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dev/fyloz/trial/colorrecipesexplorer/model/AccountModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/dev/fyloz/trial/colorrecipesexplorer/model/AccountModel.kt b/src/main/kotlin/dev/fyloz/trial/colorrecipesexplorer/model/AccountModel.kt index 47c2247..b83dce7 100644 --- a/src/main/kotlin/dev/fyloz/trial/colorrecipesexplorer/model/AccountModel.kt +++ b/src/main/kotlin/dev/fyloz/trial/colorrecipesexplorer/model/AccountModel.kt @@ -138,7 +138,7 @@ data class EmployeeGroup( val permissions: MutableSet = mutableSetOf(), @OneToMany(mappedBy = "group") - @JsonIgnore + @field:JsonIgnore val employees: MutableSet = mutableSetOf() ) : NamedModel { @JsonProperty("employeeCount")