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

Replace extending of Formatter with DialectOptions object #493

Merged
merged 6 commits into from
Oct 11, 2022

Conversation

nene
Copy link
Collaborator

@nene nene commented Oct 5, 2022

Implemented what I proposed in #484.

Dialects are now defined by config object instead of subclassing Formatter.

Note: This PR only changes the public API with regards to the experimental language: string | Formatter field, which has now been replaced with language: string | DialectOptions.

@nene nene requested a review from inferrinizzard October 5, 2022 12:50
@nene nene merged commit 094f3f5 into master Oct 11, 2022
@nene nene deleted the dialect-factory branch October 11, 2022 16:37
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