-
Notifications
You must be signed in to change notification settings - Fork 161
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
Expected type java.lang.Long for property id but imported type is java.lang.Object #2631
Comments
Aha! There are two
Which is weird, but this probably confuses Flow. So, in this case, Flow should use the method which is 'closer' to the |
For reference, we recently fixed another case where we were looking at the wrong method in cases where generics causes multiple methods to be present: #2561 |
Unfortunately this issue is still present in Vaadin 10.0.0.alpha11 |
It seems that Grid is now happy with Entity and correctly resolves the ID! That's great news! Unfortunately, when I tried to make Review extend Entity, Flow complained:
|
Flow 1.0.0.alpha3: I'd like to transfer the following class via Flow:
(The
Category
class is actually taken from the Beverage Buddy example; I just added theEntity
interface). When I launch this app, Flow complains with:However, the field's type is
java.lang.Long
:prints
The text was updated successfully, but these errors were encountered: