cayleygraph / cayleygraph/cayley

Save adds additional quotes in 0.7.7

Open
#910 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
15.1k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Use the cayley web ui to add a quad, ie

```
99 test testvalue .
```

Do a query, ie

```
g.V('99').Save("test").All()
```

Get the following result:

```
{
"result": [
{
"\\"test\\"": "value",
"id": "99"
}
]
}
```

expected:

```
{
"result": [
{
"test": "value",
"id": "99"
}
]
}
```

This was tested in 0.7.5 and does not happen.

Using windows x64 release builds.

Contributor guide

Open the contributing guide

Research direction

Reproduce the example in the Cayley web UI on the Windows x64 0.7.7 release, comparing it with 0.7.5. Trace the Save("test").All() query and its JSON response; done means the result uses the key "test" rather than the escaped key "\"test\"".

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.