Feat/graphql api #16
Annotations
4 errors and 1 warning
Run clippy action:
sdk/src/models/proposal.rs#L3
error: unused imports: `DateTime` and `Utc`
--> sdk/src/models/proposal.rs:3:14
|
3 | use chrono::{DateTime, Utc};
| ^^^^^^^^ ^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
Run clippy action:
sdk/src/mapping/entity.rs#L90
error: this expression creates a reference which is immediately dereferenced by the compiler
--> sdk/src/mapping/entity.rs:90:46
|
90 | let uri = GraphUri::from_uri(&value)?;
| ^^^^^^ help: change this to: `value`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
|
Run clippy action:
sdk/src/mapping/entity.rs#L125
error: this expression creates a reference which is immediately dereferenced by the compiler
--> sdk/src/mapping/entity.rs:125:46
|
125 | let uri = GraphUri::from_uri(&value)?;
| ^^^^^^ help: change this to: `value`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
Run clippy action
Clippy has exited with exit code 101
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading