Skip to content

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

@erickj

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions