Skip to content

Reject add-edge requests when edge already exists#588

Open
balhoff wants to merge 1 commit intomasterfrom
reject-multiple-add
Open

Reject add-edge requests when edge already exists#588
balhoff wants to merge 1 commit intomasterfrom
reject-multiple-add

Conversation

@balhoff
Copy link
Copy Markdown
Member

@balhoff balhoff commented Mar 13, 2026

Instead of silently creating a duplicate reified axiom, return an error when the client attempts to add an edge with a subject, property, and object that already exist in the model. The error message directs users to use addAnnotation for modifying evidence on existing edges.

Fixes #587.

Instead of silently creating a duplicate reified axiom, return an error
when the client attempts to add an edge with a subject, property, and
object that already exist in the model. The error message directs users
to use addAnnotation for modifying evidence on existing edges.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@balhoff balhoff requested a review from kltm March 13, 2026 14:29
@balhoff
Copy link
Copy Markdown
Member Author

balhoff commented Mar 13, 2026

This commit is merged into dev, so it's ready to be tested on noctua-dev.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Edges can be reified multiple times if the client calls addFact when the fact already exists

1 participant