Skip to content

Commit 2c453e2

Browse files
committed
Use DeprecationStrategy::default() in codegen
1 parent 8af2434 commit 2c453e2

File tree

1 file changed

+1
-1
lines changed
  • graphql_client_codegen/src

1 file changed

+1
-1
lines changed

graphql_client_codegen/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub fn generate_module_token_stream(
7878
// The user can determine what to do about deprecations.
7979
let deprecation_strategy = options
8080
.deprecation_strategy
81-
.unwrap_or(deprecation::DeprecationStrategy::Warn);
81+
.unwrap_or(deprecation::DeprecationStrategy::default());
8282

8383
// We need to qualify the query with the path to the crate it is part of
8484
let (query_string, query) = {

0 commit comments

Comments
 (0)