What should I do about the `Missing Property` in `...
# questions
s
What should I do about the
Missing Property
in
dendron.yml
? Its the only red squiggly in the file.
k
actually, it looks like this is because the new property hasn't been added. we introduced a new prop. you can add it under note so that it looks like the below
Copy code
yml
    lookup:
        note:
            selectionMode: extract
            confirmVaultOnCreate: true
            leaveTrace: true
            bubbleUpCreateNew: true
            fuzzThreshold: 0.2
            vaultSelectionModeOnCreate: smart
@User do you know why the above didn't migrate? do we need to add additional guidance for adding config options?
h
It's a new config that was added after the command namespace migration. It's not there because there wasn't any new migration added after the new config was added. We currently don't check for newly added config options. I actually am planning to add a step to always add missing defaults on activation so we don't need to explicitly write migration code that is tied to a version number for this case.
A quick fix for missing properties would be manually running the latest migration. If there is a default defined, they will be added
Actually, this would be a good doctor command 😄
k
can you submit a team crop for that on monday? [[Adding a task as a crop|dendron://private/area.team.sop.issue-management#adding-a-task-as-a-crop]]
h
I think I already created a task. I'll make one if there isnt
6 Views