Skip to content

Cypher : Studio serializer works fine but "normal" one doesn't return the data in the correct field. #3267 all over again #3391

@lekmaneb

Description

@lekmaneb

Hello,

Query :

CREATE (eheh:OHOH {fieldName: "Field Value"}) return eheh

Returned data :

{
  "user": "root",
  "result": {
    "vertices": [
      {
        "p": {
          "@cat": "v",
          "fieldName": "Field Value",
          "@rid": "#1088:0",
          "@type": "OHOH"
        },
        "r": "#1088:0",
        "t": "OHOH",
        "i": 0,
        "o": 0
      }
    ],
    "edges": [],
    "records": [
      {
        "@rid": "#1088:0",
        "@type": "OHOH",
        "@cat": "v",
        "@out": 0,
        "@in": 0,
        "fieldName": null,
        "eheh": {
          "@rid": "#1088:0",
          "@type": "OHOH",
          "@cat": "v",
          "fieldName": "Field Value",
          "@out": 0,
          "@in": 0
        }
      }
    ]
  }
}

So in studio it looks fine, but the actual returned rest data is incorrect, field fieldName is null and everything is stored (and some the special fields @ duplicated) inside the returned variable name

co-author : @ExtReMLapin (very strong and beautiful)

Regression to #3267

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions