Sergey Torgashov

Results 40 issues of Sergey Torgashov

It would be nice to have build-in `Read[None.type]` and `Write[None.type]` instances that would be enabled by default (similar to `Read[Unit]`, etc) with the following behavior: - `Write[None.type]` simply sets/updates a...

Adds a code generator for `Gen.zipWith` functions. Example: ```scala case class Foo(pos: Int, ascii: String, hex: String) Gen.zipWith(Gen.posNum[Int], Gen.asciiStr, Gen.hexStr)(Foo.apply) ``` Without `Gen.zipWith` the same was possible to accomplish with...

Currently nothing changes when I switch this mode on for this theme. However, standard "Dark", "Darcula" and "Darcula Contrast" themes do support that feature, so it doesn't seem impossible for...

Introduces `DerivedCirceKeyCodec` along with `DerivedCirceKeyDecoder` and `DerivedCirceKeyEncoder` to provide support for keys in Circe. Seems to be a pretty straightforward addition. The code mostly follows the pattern in `DerivedCirceCodec` and...

Since Cats v2.13.0 the following rewrites can be recommended: - `sequence_` -> `sequenceVoid` - `traverse_` -> `traverseVoid` - `nonEmptySequence_` -> `nonEmptySequenceVoid` - `nonEmptyTraverse_` -> `nonEmptyTraverseVoid` - `parSequence_` -> `parSequenceVoid` -...

question

GraphQL spec: [3.6.3 Object Extensions](https://spec.graphql.org/October2021/#sec-Object-Extensions) Currently Caliban can parse it, but cannot generate. Sometimes it leads to issues when a GraphQL schema containing `extend type` is provided "as is" and...

enhancement
server

The current imports are: ```scala import doobie.postgres.circe.json.implicits.* // for Json import doobie.postgres.circe.jsonb.implicits.* // for Jsonb ``` In fact, the only implicits they bring in are `Get[Json]` and `Put[Json]` _instances_. However,...

Otherwise, `Clock[SyncIO].realTimeInstant` might not be the same as `SyncIO.realTimeInstant`. Discussed [on Discord](https://discord.com/channels/632277896739946517/839263556754472990/1435348765547692052). Also adds `SyncIO.realTimeZonedDateTime`, similar to `IO.realTimeZonedDateTime`.

:beetle: bug
:mushroom: enhancement

It shouldn't – publishing can be made over a regular channel. Subscription does require a dedicated channel, but not publishing. Currently, if one have two different applications – one publisher...