File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 44 - beta
55 - nightly
66cache : cargo
7+ before_script :
8+ - if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then (rustup component add rustfmt-preview) fi
79script :
10+ - if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then (cargo fmt --all -- --check) fi
811 - cargo test --all
912 - cargo build --manifest-path=./examples/github/Cargo.toml
1013 - cargo build --manifest-path=./graphql_client_cli/Cargo.toml
Original file line number Diff line number Diff line change @@ -71,14 +71,13 @@ impl GqlUnion {
7171 & new_prefix,
7272 )
7373 } ) ;
74- let field_interface =
75- query_context. schema . interfaces . get ( & frag. on ) . map ( |_f| {
76- query_context. maybe_expand_field (
77- & frag. on ,
78- & frag. fields ,
79- & new_prefix,
80- )
81- } ) ;
74+ let field_interface = query_context. schema . interfaces . get ( & frag. on ) . map ( |_f| {
75+ query_context. maybe_expand_field (
76+ & frag. on ,
77+ & frag. fields ,
78+ & new_prefix
79+ )
80+ } ) ;
8281 // nested unions, is that even a thing?
8382 let field_union_type = query_context. schema . unions . get ( & frag. on ) . map ( |_f| {
8483 query_context. maybe_expand_field ( & frag. on , & frag. fields , & new_prefix)
You can’t perform that action at this time.
0 commit comments