ConfigAPI icon indicating copy to clipboard operation
ConfigAPI copied to clipboard

Option to have a "good" List

Open XCraftTM opened this issue 5 months ago • 3 comments

Right Now Lists just suck ass in this Config API. I really enjoy using this API but the lists are just ass.

Please make Lists look like this:

list:
   - "test3"
   - "test2"
   - "test1"

I know this repo is quite old, but it should still be updated imo, cause its quite nice to use.

XCraftTM avatar Jul 12 '25 08:07 XCraftTM

you can implement the feature

m7rlin avatar Jul 12 '25 09:07 m7rlin

And... how?

XCraftTM avatar Jul 12 '25 09:07 XCraftTM

Generating "standard" YAML list is not easily possible because primary feature of API is to allow fully automatic serializing of custom objects and even structures.

I don't care how YAML looks, library is made to be easy to use from code. If you want you have an idea how to implement it you can do it by yourself and create PR

mikigal avatar Jul 12 '25 12:07 mikigal