I am adding my own custom properties in a YAML file. The existing Spring properties work fine but my own custom ones become underlined in yellow, which creates a warning in the project. There is an option to add to the metadata but once I do that the warning becomes this error :
Expected a 'String' but got a 'Mapping' node
This is what I am adding :
com:
foo:
bar:
foobar:
someString: hello
someBoolean: true
Where is this YAML metadata stored and how can I tell it that com is not a String and is really a mapping node?
******EDIT******
I found the metadata is stored in the META-INF folder in a file called additional-spring-configuration-metadata.json. If I tell Eclipse to generate the metadata for com for example, this gets added to said file :
{"properties": [{
"name": "com",
"type": "java.lang.String",
"description": "A description for 'com'"
}]}
What do you have to change java.lang.String to in order for com to accept foo and so on?
