Skip to content

expected exception when creating an edge with a vertex type  #577

Description

@erickj

ArcadeDB Version: 22.9.1

JDK Version: jdk 11

OS: linux

Expected behavior

Expected an IllegalArgumentException when creating an edge using a vertex document type. See gist. (creating a vertex with an edge type exhibits the expected behavior)

Actual behavior

Able to create an edge, with a type that is a vertex type.

Steps to reproduce

see this gist, particularly line 31: https://gist.github.com/erickj/d60814b76ae527e72ecb7d71602731b1#file-arcadedbedgewithvertexlabel-java-L31

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions