From 5b8ec36a1759a4c01a4782d7403ea81e93dfbd33 Mon Sep 17 00:00:00 2001 From: wadii Date: Wed, 23 Sep 2026 16:54:59 +0200 Subject: [PATCH] fix: name generated engine classes from schema titles Upstream 58eb348 added a `flags` property to the evaluation context. jsonschema2pojo names classes from the property name, so it collided with the evaluation result's `flags`: one became Flags__1 and Engine.java no longer compiled. CI had failed on every branch since 2026-08-31. Name classes from the schema title instead. Every object in the upstream schemas has a unique title matching its current generated name, so the generated set is unchanged apart from the new FlagResults (titled so by upstream Flagsmith/flagsmith#8581). The schema refs keep tracking main. --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index cf75927..cb756e9 100644 --- a/pom.xml +++ b/pom.xml @@ -227,6 +227,7 @@ com.flagsmith.flagengine ${project.build.directory}/generated-sources/jsonschema2pojo true + true true true