Skip to content

Refactoring Slice - Add Statement Configuration to Rendering Context #763

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
Mar 26, 2024

Conversation

jeffgbutler
Copy link
Member

This slice adds the statement configuration to the rendering context. This makes it possible to query statement configuration whenever rendering happens.

This PR also makes configuration available on all statements where it could make a change in rendering (including multi-selects and insert selects which were not included previously).

Further, this PR makes statement configuration consistent across all statements and enforces the rule that configuration on embedded select statements is ignored - only configuration on the outermost statement is in effect.

@jeffgbutler jeffgbutler added this to the 1.5.1 milestone Mar 26, 2024
@coveralls
Copy link

Coverage Status

coverage: 100.0%. remained the same
when pulling 3b2d7b0 on jeffgbutler:context-refactoring
into f450687 on mybatis:master.

@jeffgbutler jeffgbutler merged commit 60cb080 into mybatis:master Mar 26, 2024
5 of 6 checks passed
@jeffgbutler jeffgbutler deleted the context-refactoring branch March 26, 2024 15:44
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