Skip to content

GraphEntity name field is always null #72

Closed
@schrock

Description

@schrock

Using ArangoDB 3.1.0 and Java Driver 4.1.0:

If you get a collection of GraphEntity objects via ArangoDatabase.getGraphs(), the name field of returned GraphEntity objects will be null. I think this is due to the underlying API at /_api/gharial using "_key" instead of "name" to contain the graph name. The official documentation specifies "_key" in some examples and "name" in others.

This can be fixed by simply adding a "_key" field and corresponding "get_key()" method in the GraphEntity class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions