Skip to content

Use Records when Possible #931

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Apr 11, 2025
Merged

Conversation

jeffgbutler
Copy link
Member

Change the code base to use Java records when possible.

For test code, it is not possible to use records with generated keys, or with a query that contain associations or nested lists. Some of that will be addressed by MyBatis in a future version.

@coveralls
Copy link

coveralls commented Apr 11, 2025

Coverage Status

coverage: 100.0%. remained the same
when pulling b0e8124 on jeffgbutler:code_cleanup
into 3b35f4c on mybatis:master.

@jeffgbutler jeffgbutler merged commit b517762 into mybatis:master Apr 11, 2025
7 checks passed
@jeffgbutler jeffgbutler deleted the code_cleanup branch April 11, 2025 13:49
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.

None yet

2 participants