In our project we have a component inside a library, where the setup is differently compared to a regular Fiori App:
There are typically two manifest.json files, where the first describes the library itself and the second describes a specific component inside the library and inherits all versioning from the library manifest.
It seems that this inheritance isn't taken into account by the UI5 language assistant.
Because the property minUI5Version is defined in the manifest of the library and not in the manifest of the component, the extension flags newer properties as erroneous:
But if I would add this property to the manifest of the component itself (which isn't allowed for component inside libraries and therefore only done for testing purposes) the error disappears. Therefore I assume that the extension only uses the "regular" Fiori App schema to look up the version and doesn't differentiate between Fiori App vs Component inside library.
Below you can find both schemas:
schema.json vs. schema_cil.json (Component inside library)
In our project we have a component inside a library, where the setup is differently compared to a regular Fiori App:
There are typically two manifest.json files, where the first describes the library itself and the second describes a specific component inside the library and inherits all versioning from the library manifest.
It seems that this inheritance isn't taken into account by the UI5 language assistant.
Because the property minUI5Version is defined in the manifest of the library and not in the manifest of the component, the extension flags newer properties as erroneous:
But if I would add this property to the manifest of the component itself (which isn't allowed for component inside libraries and therefore only done for testing purposes) the error disappears. Therefore I assume that the extension only uses the "regular" Fiori App schema to look up the version and doesn't differentiate between Fiori App vs Component inside library.
Below you can find both schemas:
schema.json vs. schema_cil.json (Component inside library)