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

occur an error because force casting when add key #88

Closed
yhw9999 opened this issue Jan 9, 2020 · 2 comments
Closed

occur an error because force casting when add key #88

yhw9999 opened this issue Jan 9, 2020 · 2 comments

Comments

@yhw9999
Copy link

yhw9999 commented Jan 9, 2020

((IDictionary<string, object>)entry).Add(header, EpochHelper.FromEpoch(series.Values[row][col], precision));

i have a question. why change first character to uppercase?
and occur an error because force casting when add key.

could you fix it?

@mvadu
Copy link
Contributor

mvadu commented Jan 9, 2020

Its controlled by an optional parameter SafePropertyNames. Refer to #42 for more discussion on that topic. Few of the valid tag names becomes invalid due to them being .net reserved words. Having the first letter capital makes them safe to use in .Net world and Influx world.

@mvadu mvadu closed this as completed Jan 9, 2020
@yhw9999
Copy link
Author

yhw9999 commented Jan 9, 2020

Its controlled by an optional parameter SafePropertyNames. Refer to #42 for more discussion on that topic. Few of the valid tag names becomes invalid due to them being .net reserved words. Having the first letter capital makes them safe to use in .Net world and Influx world.

but QueryMultiSeriesAsync is not has SafePropertyNames,
could you append optional parameter?

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

2 participants