I've run into this issue a few times now when composing my dynamic config file. If I have a syntax error within the file or include an option that is invalid (for example server rather than servers), the entire file is rejected. Sometimes it takes me a while to find a syntax error is present which usually requires pouring over the docker logs.
Is there any plans to implement a syntax checker both on the static and dynamic (if present) config files? It would really help.
you can use the jsonschema from this repository: https://github.com/SchemaStore/schemastore
Hey I appreciate the recommendation.
Honestly how do I make this work. I'm using vim as an editor. I installed via vim plug:
I then did a :PlugInstall and restarted vim.
I pasted the two schemas registered into two new files within vim named the same names as referenced above.
I did a :VisonRegisterSchema on each file
Within :Unite Vison I could see the two files listed and I could choose either.
And then what???? I don't get any pops. Nothing. What do I do know?
Does it matter I'm composing a .yaml file rather than .json?