Skip to content
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

Fix/iterable placeholder to string #224

Merged
merged 2 commits into from Aug 9, 2023

Conversation

alexpartsch
Copy link
Contributor

No description provided.

AntonOellerer and others added 2 commits August 9, 2023 10:51
When you have a placeholder that's being resolved to IterablePlaceholderData and
no End-Marker was present, the Word- and ExcelGenerators still tried to unroll
them. But the default behaviour should resolve a scalar value to the beans
toString method.

* Therefore, the WordGenerator#isLoopStart and ExcelGenerator#isLoopStart now
probe if a end loop marker is present and only then evaluate to true.
* The ReflectionResolver#toString method is returning the Beans toString value.
@alexpartsch alexpartsch added the enhancement New feature or request label Aug 9, 2023
@alexpartsch alexpartsch self-assigned this Aug 9, 2023
@alexpartsch alexpartsch merged commit 8e0120e into master Aug 9, 2023
@alexpartsch alexpartsch deleted the fix/iterable-placeholder-to-string branch August 9, 2023 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants