From 74be812a17dad8a68350def791ba9fb1ec3c6c28 Mon Sep 17 00:00:00 2001 From: Rafael Bey Date: Fri, 13 Dec 2024 11:47:24 -0500 Subject: [PATCH] Default to always convert --- .../pure/model/context/PureModelContextResource.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legend-depot-pure-model-context/src/main/java/org/finos/legend/depot/server/resources/pure/model/context/PureModelContextResource.java b/legend-depot-pure-model-context/src/main/java/org/finos/legend/depot/server/resources/pure/model/context/PureModelContextResource.java index e3c240d8c..c72f719ec 100644 --- a/legend-depot-pure-model-context/src/main/java/org/finos/legend/depot/server/resources/pure/model/context/PureModelContextResource.java +++ b/legend-depot-pure-model-context/src/main/java/org/finos/legend/depot/server/resources/pure/model/context/PureModelContextResource.java @@ -69,7 +69,7 @@ public Response getPureModelContextData(@PathParam("groupId") @ApiParam("Whether to include entities from dependencies") boolean transitive, @QueryParam("convertToNewProtocol") - @DefaultValue("false") + @DefaultValue("true") @ApiParam("Whether to convert the protocol to latest or return the protocol as initially published") boolean convertToNewProtocol, @Context Request request) @@ -89,7 +89,7 @@ public Response getPureModelContextData(@ApiParam("projectDependencies") @ApiParam("Whether to return transitive dependencies") boolean transitive, @QueryParam("convertToNewProtocol") - @DefaultValue("false") + @DefaultValue("true") @ApiParam("Whether to convert the protocol to latest or return the protocol as initially published") boolean convertToNewProtocol, @Context Request request)