Skip to content

Commit

Permalink
Make UpdateEvent comparable
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaskrause committed Dec 30, 2024
1 parent 18b57d2 commit c77bf4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- `UpdateEvent` now implements `PartialEq` to make possible to compare changes.

## [3.5.1] - 2024-09-25

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion core/src/graph/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use sstable::{SSIterator, Table, TableBuilder, TableIterator};
use tempfile::NamedTempFile;

/// Describes a single update on the graph.
#[derive(Serialize, Deserialize, Clone, Debug)]
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]
pub enum UpdateEvent {
/// Add a node with a name and type.
AddNode {
Expand Down

0 comments on commit c77bf4e

Please sign in to comment.