Skip to content

Commit

Permalink
fix: Allow deprecated InterfaceApi in generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
jawoznia committed Aug 21, 2024
1 parent c00a9d8 commit 8bdc8b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sylvia-derive/src/interface/communication/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ impl<'a> Api<'a> {
#phantom

Check warning on line 103 in sylvia-derive/src/interface/communication/api.rs

View check run for this annotation

Codecov / codecov/patch

sylvia-derive/src/interface/communication/api.rs#L102-L103

Added lines #L102 - L103 were not covered by tests
}

#[allow(deprecated)]
impl < #(#generics,)* > #sylvia ::types::InterfaceApi for Api < #(#generics,)* > #where_clause {
type Exec = ExecMsg < #(#exec_generics,)* >;
type Query = QueryMsg < #(#query_generics,)* >;
Expand Down

0 comments on commit 8bdc8b5

Please sign in to comment.