Open baptgb opened 1 year ago
Patch coverage: 100.00%
and no project coverage change.
Comparison is base (
22f5d55
) 74.86% compared to head (abf6b1a
) 74.86%.
:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hi,
Thanks for the issue and taking the time to put up a PR. We would like to maintain the default behavior of not throwing an exception. The change could cause issues for users who upgrade and suddenly start getting exceptions.
Is there a way you could create an option in the client to turn on this new behavior?
Hi, Thank you for your review. I understand that introducing this change could lead to breaking issues for existing implementations. However, in my opinion, keeping this option deactivated by default somewhat diminishes its utility. I would suggest enabling it by default in the next release where breaking changes are announced.
I propose adding the silentFailOnEmptyField
option to the Client, defaulting it to true
. I'll go ahead and make the change if you agree.
I would suggest enabling it by default in the next release where breaking changes are announced.
Unfortunately, at this late in the life-cycle we do not want introduce this type of change.
Closes #149
Proposed Changes
toLineProtocol() will throw an exception if no field is provided. This prevents the data from being silently converted to null and discarded, thereby providing the developer with a clear error message, as fields are mandatory.
Checklist
make test
completes successfully