-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport 2.x] Codegen equals & hashCode (#1217)
* Generate hashCode and equals (#1201) * Generate hashCode and equals , wip Signed-off-by: miguel-vila <[email protected]> * add changelog entry Signed-off-by: miguel-vila <[email protected]> * remove change Signed-off-by: miguel-vila <[email protected]> * take into account primitives Signed-off-by: miguel-vila <[email protected]> * refactor and format Signed-off-by: miguel-vila <[email protected]> * use Object.equals Co-authored-by: Thomas Farr <[email protected]> Signed-off-by: Miguel Vilá <[email protected]> * use `&&` chain Signed-off-by: miguel-vila <[email protected]> * adjust last line Signed-off-by: miguel-vila <[email protected]> * use fqn Signed-off-by: miguel-vila <[email protected]> * use fqn for Objects.hashCode, take into account parent Signed-off-by: miguel-vila <[email protected]> * remove unused var definition Signed-off-by: miguel-vila <[email protected]> * codegen equals/hashCode for request shapes Signed-off-by: miguel-vila <[email protected]> * add hashCode/equals to TaggedUnion Signed-off-by: miguel-vila <[email protected]> * use import Signed-off-by: miguel-vila <[email protected]> * fix equals for request shapes Signed-off-by: miguel-vila <[email protected]> * codegen latest from main Signed-off-by: miguel-vila <[email protected]> --------- Signed-off-by: miguel-vila <[email protected]> Signed-off-by: Miguel Vilá <[email protected]> Co-authored-by: Thomas Farr <[email protected]> Signed-off-by: Thomas Farr <[email protected]> (cherry picked from commit 18a8460) * Re-run codegen (#1216) * Re-run codegen Signed-off-by: Thomas Farr <[email protected]> * Improve null handling Signed-off-by: Thomas Farr <[email protected]> --------- Signed-off-by: Thomas Farr <[email protected]> (cherry picked from commit 897cc9b)
- Loading branch information
Showing
56 changed files
with
964 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.