We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6a8972 + f318eab commit d309661Copy full SHA for d309661
CHANGELOG.md
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
8
## Unreleased
9
10
+- The `variables_derives` now trims whitespace from individual derivation traits.
11
+
12
## 0.10.0 - 2021-07-04
13
14
- The `web` feature is dropped. You can now use a `reqwest::Client` instead of the custom HTTP client.
graphql_client_codegen/src/codegen_options.rs
@@ -102,7 +102,8 @@ impl GraphQLClientCodegenOptions {
102
.variables_derives
103
.as_deref()
104
.into_iter()
105
- .flat_map(|s| s.split(','));
+ .flat_map(|s| s.split(','))
106
+ .map(|s| s.trim());
107
108
std::iter::once("Serialize").chain(additional)
109
}
0 commit comments