Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing '}' flagged by LSP4MP validation for property referencing inner class name #501

Open
scottkurz opened this issue Mar 12, 2024 · 1 comment

Comments

@scottkurz
Copy link
Member

image

From the 'guide-microprofile-reactive-messaging' guide, we have in microprofile-config.properties:

mp.messaging.outgoing.systemLoad.value.serializer=io.openliberty.guides.models.SystemLoad$SystemLoadSerializer

which gets flagged with the error:
image

@scottkurz
Copy link
Member Author

mp.messaging.outgoing.systemLoad.value.serializer=io.openliberty.guides.models.SystemLoad$SystemLoadSerializer

This use of an "inner class" as property value is getting flagged as an error by Liberty Tools validation, based on the LSP4MP code.

If I look at the Git history in the LS project:
eclipse-lsp4mp/lsp4mp@8512c09
In many MicroProfile implementations, ${other.property} can be used to refer to the value of an already defined property when defining the value of another property.

Does Liberty support something like prop1=${prop2}?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant