-
Notifications
You must be signed in to change notification settings - Fork 167
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
feat: record support in json serializer (#16879) #19258
Conversation
flow-server/src/test/java/com/vaadin/flow/internal/JsonSerializerTest.java
Show resolved
Hide resolved
Still need record support in |
for (PropertyDescriptor pd : info.getPropertyDescriptors()) { | ||
if ("class".equals(pd.getName())) { | ||
continue; | ||
var type = bean.getClass(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I still don't like var as it obscures the code. Did take 3 looks to get to the end result of Class...
Not that big of an issue now that our min JDK supports it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True. Maybe I'll change those vars since they are not used in this class otherwise.
Quality Gate passedIssues Measures |
This ticket/PR has been released with Vaadin 24.4.0. |
Fixes #16879