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

IGremlinQueryBase.Debug() renders CosmosDbKey as String[] insead of values #1552

Open
utillity opened this issue Apr 22, 2024 · 0 comments
Open

Comments

@utillity
Copy link

utillity commented Apr 22, 2024

Describe the bug
The string produced by .Debug() is super now, allowing the developer to directly copy/paste the query to the database tool for further debugging. Currently, only the CosmosDbKey is not serialized to string correctly. Instead of showing the actual value, it is serialized as System.String[]

ie: g.V(System.String[]).hasLabel('Article')\n.property(single,'IndexPending',true)\n.property(single,'Timestamp',638493747170715656)\n.property(single,'Trend',0)

Expected behavior
It would be great to see the actual key, as in g.V(['id', 'key']).hasLabel('Article')\n.property(single,'IndexPending',true)\n.property(single,'Timestamp',638493747170715656)\n.property(single,'Trend',0)

Version information
Using v12.6.0

Minimal working example
If you really need this, I would be happy to provide you with some code

@utillity utillity changed the title IGremlinQueryBase.Debug() does not show value of 2-part vertex-key IGremlinQueryBase.Debug() renders CosmosDbKey as String[] insead of values Apr 22, 2024
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