Skip to content

Commit

Permalink
MF-5759 fix stability of namespace route sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Decker committed Aug 22, 2024
1 parent 99c78ef commit 8785ca1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/generator/java/java.stoneg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2586,7 +2586,9 @@ def generate_client(self):

def generate_namespace(self, namespace):
assert isinstance(namespace, ApiNamespace), repr(namespace)

# We need a stable sort in order to keep the resultant output
# the same across runs.
namespace.routes.sort()
j = self.j

# add documentation to our packages
Expand Down

0 comments on commit 8785ca1

Please sign in to comment.