-
Notifications
You must be signed in to change notification settings - Fork 478
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
InfluxDBResultMapper doesnt call POJO setter #670
Comments
Hi, |
@majst01 |
@sjoshid yes, you are right: setters and field visibility ( Particularly I think it's a bad practice to pass a parameter to a InfluxDB supports precisions different than You are also welcome to contribute add this feature to the project. Create a PR and we'll review it. :) |
@fmachado |
I'm closing this ticket. Feel free to create your PR and we'll reopen this one. |
1) Calling field setters if available before falling back to setting fields directly.
1) Calling field setters if available before falling back to setting fields directly.
1) Handling NPE
1) Fixing Checkstyle errors.
I'd also like this functionality, whats the status on the review for this? This would be a super useful feature |
It is puzzling that
InfluxDBResultMapper
doesnt call POJO setter.My POJO looks like
Then I do something like
Assumption is
setTime
would be called for each point fetched. But it doesnt. It somehow bypasses it.time
is private. Reflection in play here?Expectation is that if I remove my setter,
toPOJO
call would fail. But it doesnt.I have tried 2.17, 2.7 and 2.9 versions.
The text was updated successfully, but these errors were encountered: