Skip to content

Conversation

@krystian-panek-vmltech
Copy link
Collaborator

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the TemplateFormatter class by replacing the reusable GStringTemplateEngine instance field with a method that creates a new instance on every call. This changes the template engine from being instantiated once per TemplateFormatter instance to being instantiated multiple times during template rendering operations.

  • Removed the private engine field and constructor
  • Added a getEngine() method that creates a new GStringTemplateEngine instance on each invocation
  • Updated all method calls to use getEngine() instead of the engine field

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@krystian-panek-vmltech krystian-panek-vmltech merged commit d7cca7e into main Oct 30, 2025
1 check passed
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.

3 participants