Skip to content

Commit

Permalink
fixed zio-mock documentation on mocking collaborators compose layers (#…
Browse files Browse the repository at this point in the history
…7600)

* fixed zio-mock documentation on mocking collaborators compose layers

* missing proper layer constructor in compose method

* `The Problem` mdoc'ed and compiling

* add zio-mock to docs dependencies

* testing services mdoc'ed and compiling

* `Encoding Polymorphic Capabilities` mdoc'ed and compiling

* all `zio-mock.md` properly mdoc'ed

* fixed typos

* more idiomatic ZLayer constructors

* more idiomatic ZLayer constructor

* idiomatic yielding and use of curly braces. Imported MockPolyService

* added missing new constructor.
  • Loading branch information
JoaquinIglesiasTurina committed Dec 6, 2022
1 parent 44b3869 commit 2863644
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 118 deletions.
1 change: 1 addition & 0 deletions build.sbt
Expand Up @@ -877,6 +877,7 @@ lazy val docs = project.module
"dev.zio" %% "zio-interop-twitter" % "20.10.0.0",
"dev.zio" %% "zio-zmx" % "0.0.9",
"dev.zio" %% "zio-query" % "0.2.10",
"dev.zio" %% "zio-mock" % "1.0.0-RC9",
"org.polynote" %% "uzhttp" % "0.2.8",
"org.tpolecat" %% "doobie-core" % doobieV,
"org.tpolecat" %% "doobie-h2" % doobieV,
Expand Down

0 comments on commit 2863644

Please sign in to comment.