You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generic Types can be used for backing bean and fluent interfaces, backing bean fields and fluent api method parameters and return types for both fluent api methods and commands return value.
It need to be checked if the framework can handle it correctly.
The text was updated successfully, but these errors were encountered:
Generic interfaces are really hard to handle. Generic type parameters must declared in all Fluent interfaces and passed through in all method calls - even the command calls.
It also affects Backing Bean interfaces as well.
In the end generic type parameters only make sense if affected values are passed via the root interfaces static methods.
One example (Fluent element filter in Cute - generic type parameter which will be changed by some operations like isInterface to ExecutableElement):
FluentElementFilter.filter(elements).isInterface(). .. .getResult().
Restrictions in short:
generic type Parameters must be present in all fluent interfaces
generic type Parameters should be present at root backing bean - otherwise commands with generic type might not work
Generic Types can be used for backing bean and fluent interfaces, backing bean fields and fluent api method parameters and return types for both fluent api methods and commands return value.
It need to be checked if the framework can handle it correctly.
The text was updated successfully, but these errors were encountered: