Open iskiselev opened 8 years ago
Deleting values from lists is tricky. I guess we could define a syntax for it.
Defining strong types for analyzer settings would be fine with me, as would doing it via reflection.
What do you think such syntax:
With it, simplest way to merge setting, will be serialize to JSON both source and target, merge them as JSON and do list post-processing. After it, deseriallize settings back.
null
to remove makes sense. some sort of meta value like { "command" : ... }
sounds fine too. ideally we do something to make it clear that it's a meta-value, like making it __COMMAND__
or something. No particular impulse there towards what.
We may just want to look at existing textual configuration file formats and see if there's something out there we should replace the json with.
I'd like to discuss how we merge separate levels configurations and how we can improve it. Problems:
First problem may be resolved if we'll merge config through reflection or as JSON. I don't know how we could solve second problem. Any ideas?