Skip to content

Commit

Permalink
Derive Clone on GraphQlResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
obmarg committed Jan 8, 2024
1 parent 81ea912 commit 83fcce4
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 @@ -9,6 +9,10 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html

## Unreleased - xxxx-xx-xx

### Changes

- `GraphQlResponse` is now `Clone` provided its contents are also

## v3.3.1 - 2024-01-05

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion cynic/src/result.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// The response to a GraphQl operation
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct GraphQlResponse<T, ErrorExtensions = serde::de::IgnoredAny> {
/// The operation data (if the operation was successful)
pub data: Option<T>,
Expand Down

0 comments on commit 83fcce4

Please sign in to comment.