- Check out the http4s sample repo and switch to
bespoke-guardrail-extensibilitybranch. sbt> ++ 2.12.13to select a version compatible with sbt's scalaVersionsbt> customCirce/publishLocal- Uncomment
"customcirce"dependency inproject/plugins.sbt sbt> reloadsbt> guardrail
This will use the custom CirceProtocolGenerator extensions defined in
custom-circe/src/main/scala/CustomCirce.scala
injected by way of
custom-circe/src/main/resources/META-INF/services/dev.guardrail.generators.spi.ProtocolGeneratorLoader
The diff of circe vs custom-circe is in the Changeset.diff included in this gist.