Skip to content

Commit 3a79842

Browse files
authored
fix: incorrect config parsing. toml is overridden by command line args (#975)
even when not specified
1 parent 3824aef commit 3a79842

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rust/src/graphql-cli.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ use warp::Filter;
1616

1717
type Schema = RootNode<Query, Mutation, Subscription>;
1818

19+
#[serde_with::skip_serializing_none]
1920
#[derive(Parser, Serialize, Deserialize, Debug)]
2021
pub struct Config {
2122
#[clap(short, long, value_parser)]

0 commit comments

Comments
 (0)