Skip to content

Conversation

@zyberzebra
Copy link
Contributor

@zyberzebra zyberzebra commented Apr 28, 2024

fix for: #3133

  • verify redundant null checks in mappings are avoided
  • targets mapper methods that involve update mappings and ensures that null checks are not applied redundantly if already covered

@zyberzebra zyberzebra force-pushed the #3133-fix-Redundant-null-check-in-generated-code branch 2 times, most recently from 0b95442 to 464cc8b Compare April 29, 2024 18:22
@zyberzebra zyberzebra force-pushed the #3133-fix-Redundant-null-check-in-generated-code branch from 9bc9826 to 82f7835 Compare May 7, 2024 17:03
@zyberzebra
Copy link
Contributor Author

Somthing must be configured incorrectly in my IDE... I'm not sure why though

Copy link
Member

@filiphr filiphr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @zyberzebra. I've done some small polishing (see my commits). Let me know if I've removed too much.

Can you please also rebase this on top of main?

zyberzebra and others added 8 commits September 6, 2024 16:48
- verify redundant null checks in mappings are avoided
- targets mapper methods that involve update mappings and ensures that null checks are not applied redundantly if already covered
- tests for multiple scenarios
* Remove not needed whitespace changes
* Remove not needed mapping methods
* Remove not needed FooMapperConfigured
* Use GeneratedSource#addComparisontoFixtureFor
* Rename fixture
@zyberzebra zyberzebra force-pushed the #3133-fix-Redundant-null-check-in-generated-code branch from aa7bca2 to 0d1561f Compare September 6, 2024 19:09
@zyberzebra
Copy link
Contributor Author

@filiphr Is just a rebase needed again?

@filiphr
Copy link
Member

filiphr commented Aug 4, 2025

Not sure what the problem is @zyberzebra, the logs from the builds are gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants