Open taefi opened 1 year ago
I've just realized that Platform.getVaadinVersion()
actually returns Hilla version instead of Vaadin version if Hilla is on the classpath, since Hilla also fills in its version into the vaadin-core-versions.json
file. Not sure whether that's intended, or accidental functionality that might be changed in the future...
I've just realized that Platform.getVaadinVersion() actually returns Hilla version instead of Vaadin version if Hilla is on the classpath
It returns the Hilla version even in hybrid Flow + Hilla apps?
In a hybrid app, I think the function will return either Vaadin or Hilla version randomly, depending on the classpath order (whichever jar with vaadin-core-versions.json
is first on the classpath).
Such a behavior is probably unwanted, perhaps I should create a ticket in vaadin/flow repo @tarekoraby ?
Submitted as https://github.com/vaadin/flow/issues/17017
Similar to what is offered via
Platform.getVaadinVersion()
it is handy to have something similar to get the Hilla version.