Skip to content
This repository was archived by the owner on Jul 18, 2023. It is now read-only.

#7 Added overload for timestamp #8

Merged
merged 2 commits into from
Apr 14, 2016
Merged

Conversation

HakanL
Copy link
Contributor

@HakanL HakanL commented Apr 13, 2016

No description provided.

@nblumhardt
Copy link
Contributor

Thanks, looks good.

Instead of an overload, given the current shape of the API, what do you think of:

public void Write(string measurement, DateTime timestamp, IReadOnlyDictionary<string, object> fields, IReadOnlyDictionary<string, string> tags = null, DateTime? timestamp = null)

?

Just a bit more consistent with the way the other methods are laid out...

@HakanL
Copy link
Contributor Author

HakanL commented Apr 13, 2016

I think that's fine/better, I just didn't want to change your existing API

@HakanL
Copy link
Contributor Author

HakanL commented Apr 13, 2016

Although adding it to the end isn't breaking anything :)

@HakanL
Copy link
Contributor Author

HakanL commented Apr 14, 2016

Changed, please re-verify.

@nblumhardt
Copy link
Contributor

Beautiful, much appreciated!

Nick

@nblumhardt nblumhardt merged commit c7f1ed4 into influxdata:master Apr 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants