Pierre Ricadat

Results 165 comments of Pierre Ricadat

We just got that issue in production, not with Java serialization but with Kryo serialization instead. Trying to call a lazy val on a case class that was deserialized by...

@lbialy our fix was to add a custom serializer for `scala.runtime.LazyVals.Waiting` and `scala.runtime.LazyVals.Evaluating.type`. We contributed it to scala-kryo-serialization in https://github.com/altoo-ag/scala-kryo-serialization/pull/25. We also have a fix for Chill but the library...

Someone accidentally using `_` for `__typename` seems really random and not a good reason to change the behavior 🤔 Is there any reason they would do that? If that kind...

Can you run fmt?

If it doesn't require any extra dependency I think it's okay to put it in core.

What is the issue if `GenericSchema` extend `SchemaInstances` with Scala 3?

Shouldn't `import Schema.*` be `import Schema.givens`? Also **Before** was `object MySchema extends SchemaDerivation[Foo] {`, no?

Ah okay, so in the general case, `object MySchema extends GenericSchema[Foo]` should be all we need. Thanks for clearing things up, LGTM.

@thesamet I think it would be great to have this implemented 😄 `strictEquality` is a nice option for code safety.