Config validation; duplicate key wrong error #8419
Labels
good first issue
Good for newcomers
:type/enhancement
Enhancement to product. Does not affect the overall basic use.
user-config
User configuration e.g. ~/.logseq/config or logseq/*.edn
Error in Logseq:
I triggered this error while testing what happens when you have a duplicate key.
Steps to reproduce:
side-note
in the previous version; when a config is duplicate; Logseq used to consider the config file broken.
I think the way duplicate config should be handled is that;
the last occurrence gets to set the value for the key.
i.e. if the config file contained:
the value of
:ref/default-open-blocks-level
would be 3.Logseq can display a warning, but it should continue to
work as expected.
The text was updated successfully, but these errors were encountered: