Skip to content

change way of accessing formatter, allow to self cache formater#12

Merged
kkalisz merged 2 commits intomainfrom
feature/formater_access
Feb 16, 2025
Merged

change way of accessing formatter, allow to self cache formater#12
kkalisz merged 2 commits intomainfrom
feature/formater_access

Conversation

@kkalisz
Copy link
Copy Markdown
Owner

@kkalisz kkalisz commented Feb 16, 2025

  • return Factory instead of Formatter instance
  • factory allows to create Formatter instance and cache it
  • rename formater to formatter

With this approach format is not creating new instance each invocation

@kkalisz kkalisz merged commit 8ff3d37 into main Feb 16, 2025
@kkalisz kkalisz deleted the feature/formater_access branch February 16, 2025 16:23
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.

1 participant