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

Introduce new type class called ToPoint #39

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Introduce new type class called ToPoint #39

wants to merge 3 commits into from

Conversation

aaabramov
Copy link

@aaabramov aaabramov commented Aug 23, 2019

Main reason of adding this feature is to allow submitting
custom domain models to InfluxDB without constructing Point instance
every time.

This PR is only a Proof of concept and is a subject to discuss. If this feature will be accepted I will add proper documentation.

Main reason of adding this feature is to allow submitting
custom domain models to InfluxDB without constructing `Point` instance
every time.
@@ -12,12 +13,12 @@ class Database protected[influxdbclient]
with RetentionPolicyManagement
with DatabaseManagement
{
def write(point: Point,
def write[A](point: A,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have concern about keeping binary compatibility. @paulgoldbaum do you have any thoughts ?

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

Successfully merging this pull request may close these issues.

1 participant