Skip to content

add Graph.deleteEntity#151

Merged
nikgraf merged 1 commit intomainfrom
delete-entity
Jan 21, 2026
Merged

add Graph.deleteEntity#151
nikgraf merged 1 commit intomainfrom
delete-entity

Conversation

@nikgraf
Copy link
Collaborator

@nikgraf nikgraf commented Jan 21, 2026

No description provided.

@nikgraf nikgraf requested a review from Copilot January 21, 2026 08:48
@changeset-bot
Copy link

changeset-bot bot commented Jan 21, 2026

🦋 Changeset detected

Latest commit: 7ffc694

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@graphprotocol/grc-20 Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new deleteEntity function to the Graph API, providing a programmatic way to delete entities by ID. The implementation follows the established pattern of similar functions in the codebase.

Changes:

  • Adds deleteEntity function with ID validation and GRC-20 operation generation
  • Includes comprehensive unit tests covering both valid and invalid inputs
  • Exports the new function from the graph module
  • Adds changeset documenting the patch-level change

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/graph/delete-entity.ts Implements the deleteEntity function with ID validation and GRC-20 operation wrapper
src/graph/delete-entity.test.ts Adds unit tests for valid ID and error handling scenarios
src/graph/index.ts Exports the new deleteEntity function in alphabetical order
.changeset/brave-flies-dance.md Documents the patch-level addition of Graph.deleteEntity
.claude/settings.local.json Updates development tool permissions (unrelated to core functionality)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nikgraf nikgraf merged commit 8181faa into main Jan 21, 2026
9 checks passed
@nikgraf nikgraf deleted the delete-entity branch January 21, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant