neoclide/coc-yaml

Property DeletionPolicy is not allowed

fdaciuk opened this issue · 2 comments

Hey! Thanks for this extension!
I'm having some troubles when I try to write a yml for serverless framework.
I receive the error Property DeletionPolicy is not allowed, but the configuration is correct.

Screenshot from 2022-03-05 17-12-46

Can you see if I'm doing something wrong?

You may need yaml.selectSchema to change schema for current file, or you may need to fix the schema url https://github.com/neoclide/coc-yaml/blob/master/Readme.md#associating-schemas

Hey @chemzqm! I just need to find out the right schema, but that was helpful. Thanks!