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

refactor(dev): use minijinja #5494

Merged
merged 2 commits into from
Jan 2, 2025
Merged

refactor(dev): use minijinja #5494

merged 2 commits into from
Jan 2, 2025

Conversation

tisonkun
Copy link
Member

@tisonkun tisonkun commented Jan 2, 2025

I'd like to write up a config generate for java also.

And I'd use minijinja as the template engine which is authored by one of the major maintainer of Jinja (@mitsuhiko).

Rinjia looks interesting for writing Rust expr in the template engine but it looks in an early stage that the wire under the hook is still unstable, while minijinja has robust community use cases.

The newline added is intended that I'd separate each generated __init__ methods.

Signed-off-by: tison <wander4096@gmail.com>
@Xuanwo Xuanwo changed the title refactor: use minijinja refactor(dev): use minijinja Jan 2, 2025
Signed-off-by: tison <wander4096@gmail.com>
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Thank you @tisonkun for working on this!

@Xuanwo Xuanwo merged commit 6778dca into apache:main Jan 2, 2025
177 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants