Skip to content

Commit

Permalink
fix: removes errant #[serde(untagged)] for View
Browse files Browse the repository at this point in the history
  • Loading branch information
claymcleod committed Sep 23, 2024
1 parent d5fd2e1 commit 8207e46
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 @@ -23,6 +23,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Makes `v1::types::task::State` `Copy`.
- Adds the `ord` feature for all types.

### Fixed

- Removed errant `#[serde(untagged)]` for `v1::types::responses::task::View`.

## 0.2.0 - 08-08-2024

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/v1/types/responses/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::v1::types::task::State;
// below—can it be deduplicated?
#[derive(Clone, Debug, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(feature = "serde", serde(untagged, rename_all = "UPPERCASE"))]
#[cfg_attr(feature = "serde", serde(rename_all = "UPPERCASE"))]
#[cfg_attr(feature = "ord", derive(Ord, PartialOrd))]
pub enum View {
/// The `MINIMAL` view.
Expand Down

0 comments on commit 8207e46

Please sign in to comment.