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

readme example is not working #55

Open
shutcode opened this issue Sep 4, 2019 · 1 comment
Open

readme example is not working #55

shutcode opened this issue Sep 4, 2019 · 1 comment

Comments

@shutcode
Copy link

shutcode commented Sep 4, 2019

expected result: resp including a vertice id
but the real result: [SERVER SERIALIZATION ERROR]

// replace map[string]string{"x": "1234"} with this:
map[string]string{"x": "'1234'"},
// but got 
// [<nil>]
@cyrilzh
Copy link

cyrilzh commented Sep 19, 2019

gremgo simply set the binding and rebinding data to the Args of the request to gremlin server.

	req.Args["bindings"] = bindings
	req.Args["rebindings"] = rebindings

It works on my side with Azure Cosmos DB.

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