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

Does not compile #22

Open
nkev opened this issue Dec 22, 2018 · 1 comment
Open

Does not compile #22

nkev opened this issue Dec 22, 2018 · 1 comment

Comments

@nkev
Copy link

nkev commented Dec 22, 2018

None of the examples currently work. The error is from the connection line:

client := documentdb.New("connection-url", documentdb.Config{"master-key"})

cannot use "master-key" (type string) as type *documentdb.Key in field value

Shouldn't we be passing a *documentdb.Key instead of string?

@a8m
Copy link
Owner

a8m commented Dec 24, 2018

Hey, thanks for reporting this issue.

Shouldn't we be passing a *documentdb.Key instead of string?

Yes.

We should update the documentation and the documentdb-example as well.

@a8m a8m mentioned this issue Dec 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants