Skip to content

Commit

Permalink
chore(codegen): use priority instead of getOrder to sort Integrations
Browse files Browse the repository at this point in the history
Note this class is being deleted as part of #3664
so this change will not be needed when that PR is merged.
  • Loading branch information
gosar committed Jun 4, 2022
1 parent 925d12b commit 822befa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ public final class AddS3ObjectSizeMemberShapeType implements TypeScriptIntegrati
);

@Override
public byte getOrder() {
public byte priority() {
// This integration should happen before other integrations that rely on the presence of this trait
return -60;
return 60;
}

@Override
Expand Down

0 comments on commit 822befa

Please sign in to comment.