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

Add dynamic TOML support via [DynamicToml] Service #9517

Merged
merged 4 commits into from
Aug 30, 2023

Conversation

cptpiepmatz
Copy link
Contributor

This adds a dynamic service for TOML files.

I kept everything as close to the other dynamic services as possible. To be able to use the BaseTomlService from #9438, I exported in the core where the other base services are exported.
For the tests and default values I used the toml-spec-example.toml from smol-toml because smol-toml is used in here and it is the same example TOML file that toml.io shows on their homepage, sadly they do not host this toml themselves.

I mostly ported over the test from the dynamic YAML service.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 25, 2023

Messages
📖 ✨ Thanks for your contribution to Shields, @cptpiepmatz!

Generated by 🚫 dangerJS against 1e15df8

@calebcartwright calebcartwright added the service-badge New or updated service badge label Aug 27, 2023
@github-actions
Copy link
Contributor

🚀 Updated review app: https://pr-9517-badges-shields.fly.dev

Copy link
Member

@chris48s chris48s left a comment

Choose a reason for hiding this comment

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

LGTM. Nice first contribution

@chris48s chris48s added this pull request to the merge queue Aug 30, 2023
Merged via the queue into badges:master with commit 170d29e Aug 30, 2023
19 checks passed
@cptpiepmatz cptpiepmatz deleted the dynamic-toml branch August 30, 2023 18:43
Copy link

@Mulugruntz Mulugruntz left a comment

Choose a reason for hiding this comment

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

Nice feature, I'm looking forward to using it!

(do we know when it'll be available on shields.io?)

services/dynamic/dynamic-toml.tester.js Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service-badge New or updated service badge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants