Skip to content

Instantly share code, notes, and snippets.

@jbmusso
Created February 14, 2016 15:39
Show Gist options
  • Save jbmusso/95c2fb335cf7648a6a3e to your computer and use it in GitHub Desktop.
Save jbmusso/95c2fb335cf7648a6a3e to your computer and use it in GitHub Desktop.

Raw message sent:

{
  "requestId": "56da9f40-d32f-11e5-bea1-0164965f4534",
  "processor": "",
  "op": "eval",
  "args": {
    "gremlin": "foo",
    "bindings": {
      "foo": {
        "bar": {
          "baz": "duh"
        },
        "alice": "bob"
      }
    },
    "accept": "application/json",
    "language": "gremlin-groovy"
  }
}

Expected result:

[
  {
    "bar": {
      "baz": "duh"
    },
    "alice": "bob"
  }
]

Received:

[
  {
    "bar": {
      "baz": "duh"
    }
  },
  {
    "alice": "bob"
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment