Skip to content
This repository has been archived by the owner on Dec 29, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants