You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and run concerto extract-decorators --models MODEL.cto --removeDecoratorsFromSource true we get the following vocabulary.yml:
locale: en
namespace: [email protected]
declarations:
- properties: A nice properties term
properties:
- someString: A cool string
Correct me if I'm missing something but that is an invalid YAML file due to the duplicated properties key. Trying to apply this vocab gives:
concerto decorate --models com.example.e2e.a.cto --vocabulary vocabulary_0.yml
10:29:53 - ERROR: YAMLParseError: Map keys must be unique at line 5, column 5:
- properties: A nice properties term
properties:
Expected Behavior
I'm not sure how/if we should handle this case or if there is a way to write a vocab for the properties concept in the above model.
The text was updated successfully, but these errors were encountered:
Bug Report 🐛
If we have a model like
and run
concerto extract-decorators --models MODEL.cto --removeDecoratorsFromSource true
we get the followingvocabulary.yml
:Correct me if I'm missing something but that is an invalid YAML file due to the duplicated
properties
key. Trying to apply this vocab gives:Expected Behavior
I'm not sure how/if we should handle this case or if there is a way to write a vocab for the
properties
concept in the above model.The text was updated successfully, but these errors were encountered: