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

Feature/toml #14

Merged
merged 2 commits into from Jun 17, 2021
Merged

Feature/toml #14

merged 2 commits into from Jun 17, 2021

Conversation

bezoerb
Copy link
Member

@bezoerb bezoerb commented Jun 17, 2021

No description provided.

@bezoerb bezoerb merged commit e87d56c into main Jun 17, 2021
@bezoerb bezoerb deleted the feature/toml branch June 17, 2021 08:42
* @returns {String}
*/
const stringify = (obj, format = 'yaml') => {
switch (format) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Wenn ich mir das hier anschaue, dann wäre es schöner wenn die converter ein klares Interface hat (sringify / parse). Dann kann man auf das switch verzichten und eine einfache Converter Map haben und später auch mal custom converter einfach reinhängen

Copy link
Member Author

Choose a reason for hiding this comment

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

Hatte ich auch erst vor...
Das änder ich nochmal.
Gute Punkt

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.

None yet

2 participants