Shah Saraei
Shah Saraei
I have done some spikes into composing collections so that a business use-case can be created by composing individual collections. In the process, I have examined the different components that...
In the provider side, the pacts can be verified using two [strategies](http://io.itv.com/scala-pact/examples/provider.html). The external strategy only runs pacts against the ones specified in the `pact.sbt` file through `providerName` and `consumerNames`...
Often pact files have a number of "contract"s(?) in them. It would be nice to be able to verify if a single contract is satisfied, ie a provider spec file...
Currently, if my project has two pacts: `pactA` and `pactB` and I were to update only `pactA`, running pact publish outpusts that publishing `pactA` and `pactB` was both successful. It...
I have the following: ```sql CREATE TYPE Person AS (given_name VARCHAR, family_name VARCHAR); CREATE TYPE Contributors AS (directors person[], actors person[]) ; CREATE TABLE Catalogue (id serial, contributors Contributors) ```...
When inserting data to a Postgres table, I used to always map the columns manually. I recently discovered that I can do the following: ```scala //scala 2.13 def insertInto[T
Currently, For whatever reason, Doobie doesn't have out of the box support for types such as `TSRANGE`. To use those with doobie, you have to work with PGObjects directly. I...
It would be nice to have extension methods for meta of Circe's Json: implicit class jsonMetaDerivatives(val jsonMeta: Meta[Json]) extends AnyVal { def decode[A: Encoder : Decoder : TypeTag]: Meta[A] =...
Postgress allows creation of constant (temporary) tables for use in queries with this syntax: WITH names (id, name) AS (VALUES (1, 'ABC'), (2, 'BCD')) SELECT id FROM names or the...
It would be nice to have extension methods such as: implicit class arrayMetaDerivatives[A](val arrayMeta: Meta[Array[A]]) extends AnyVal { def asList(implicit classTag: ClassTag[A]): Meta[List[A]] = ??? def asSet(implicit classTag: ClassTag[A]): Meta[Set[A]]...