Yann Simon
Yann Simon
Warnings: ```` cargo clippy Checking assert-json-diff v2.0.1 (/Users/yannsimon/projects/rust/assert-json-diff) warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/diff.rs:65:27 | 65 | rhs: Some(&self.rhs), | ^^^^^^^^^...
When comparing deep json structures, the recursion can be dangerous.
When we already have `Value`, we can avoid using the `Serialize` trait. This allows us: - to avoid the usage of two `panic!` - to have faster code. No need...
Initial condition: 3 PRs are waiting to be merged. Current situation: - the first PR is updated to master, then we wait for the tests to be green, then the...
First of all, congrats for your tool! Using `Ctrl-C` to stop waiting for changes does not only stop waiting for changes, but also exits cargo shell. ``` $ cargo shell...
When trying to optimize the performance of [sangria](https://github.com/sangria-graphql/sangria), I found this: I was quite surprised as the query does not contain any comments. All coming from this rule: ``` def...
when using `HttpContentCompressor` to compress the http responses, and when the handler `NotFoundHandler` is used, then the `HttpContentCompressor` does not really know how to handle this http response. The response...
From https://discord.com/channels/632277896739946517/632278585700384799/921743315169325087 In a project based on `Future`, we introduce `IO` step by step. We use `IO.unsafeToFuture()` for interoperability. I can observe the following locking: The whole application is running...
When using http4s as HTTP client, we often have this issue: ``` java.lang.IllegalStateException: Cannot have multiple pending reads at org.http4s.client.blaze.ReadBufferStage.readRequest(ReadBufferStage.scala:43) at org.http4s.blaze.pipeline.Tail.channelRead(Stages.scala:93) at org.http4s.blaze.pipeline.Tail.channelRead$(Stages.scala:91) at org.http4s.client.blaze.Http1Connection.channelRead(Http1Connection.scala:41) at org.http4s.client.blaze.Http1Connection.readAndParsePrelude(Http1Connection.scala:205) at org.http4s.client.blaze.Http1Connection.$anonfun$receiveResponse$1(Http1Connection.scala:196)...
Sangria dependencies: ``` libraryDependencies ++= Seq( // AST Parser "org.parboiled" %% "parboiled" % "2.2.1", // AST Visitor "org.sangria-graphql" %% "macro-visit" % "0.1.3", // Marshalling "org.sangria-graphql" %% "sangria-marshalling-api" % "1.0.5", //...