Skip to content
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

Allow zero-tag writing #49

Open
cz-cube opened this issue Dec 10, 2023 · 0 comments
Open

Allow zero-tag writing #49

cz-cube opened this issue Dec 10, 2023 · 0 comments

Comments

@cz-cube
Copy link

cz-cube commented Dec 10, 2023

Currently when a influxdb2_derive::WriteDataPoint struct contains no tag, it panics that You have to specify at least one #[tag] field. But InfluxDB 2 actually allows zero-tag records. I have an bucket without any tags in it and I can't write it with influxdb2_derive::WriteDataPoint.

https://github.com/aprimadi/influxdb2/blob/main/influxdb2-derive/src/expand_writable.rs#L100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant