OpenLiberty / liberty-language-server

The Liberty Config Language Server provides language server features for Liberty server configuration files through any of the supported client IDEs.
Eclipse Public License 2.0
5 stars 11 forks source link

Handle different case for config element validation #222

Closed cherylking closed 11 months ago

cherylking commented 11 months ago

When validating config elements, we get a list of features that enable a config element and also a list of features that are configured. The configured features can be in a different case than what is defined by Liberty, and therefore different than what is in the feature list and the FeatureListGraph. We need to lower case the configured features, and the features that enable a config element, before doing the intersection.