Open mvysny opened 3 years ago
The mechanism can be found from here: https://mvysny.github.io/vaadin-custom-instantiator/
I’m quite out of my comfort zone with this topic, but from what I gather, there are some issues in the JavaDocs. @mshabarov, could you take a look into those, if there’s incorrect documentation there?
There is no documentation for custom Lookup/Instantiator. Trying to implement one is a series of try-and-fail, steps, missteps, going through crappy outdated javadoc etc. Absolutely no mention of instantiator/lookup in the documentation. This is completely ridiculous.
Vaadin 20.
For example, if I want to implement a custom Instantiator for Dagger DI:
getI18nProvider()
? What aboutgetServiceInitListeners()
, how to implement that?I feel MAD about having to go through all of the above. There are countless abstractions, no simplicity at all, absolute mess of interfaces, loaders and whatnot. Fighting for simplicity, yeah right.