@@ -72,7 +72,7 @@ <h2><a class="anchor" aria-hidden="true" id="circe"></a><a href="#circe" aria-hi
7272}
7373
7474env(< span class ="hljs-string "> "SERIAL"</ span > ).as[< span class ="hljs-type "> SerialNumber</ span > ]
75- < span class ="hljs-comment "> // res0: ConfigValue[Effect, SerialNumber] = ConfigValue$2094670765 </ span >
75+ < span class ="hljs-comment "> // res0: ConfigValue[Effect, SerialNumber] = ConfigValue$275220414 </ span >
7676</ code > </ pre >
7777< h2 > < a class ="anchor " aria-hidden ="true " id ="circe-yaml "> </ a > < a href ="#circe-yaml " aria-hidden ="true " class ="hash-link "> < svg class ="hash-link-icon " aria-hidden ="true " height ="16 " version ="1.1 " viewBox ="0 0 16 16 " width ="16 "> < path fill-rule ="evenodd " d ="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z "> </ path > </ svg > </ a > circe-yaml</ h2 >
7878< p > The < code > ciris-circe-yaml</ code > module provides < a href ="/api/ciris/ConfigDecoder.html "> < code > ConfigDecoder</ code > </ a > s for YAML using < a href ="https://github.com/circe/circe-yaml "> circe-yaml</ a > .</ p >
@@ -91,7 +91,7 @@ <h2><a class="anchor" aria-hidden="true" id="circe-yaml"></a><a href="#circe-yam
9191}
9292
9393env(< span class ="hljs-string "> "SERIAL"</ span > ).as[< span class ="hljs-type "> SerialNumber</ span > ]
94- < span class ="hljs-comment "> // res2: ConfigValue[Effect, SerialNumber] = ConfigValue$2032879597 </ span >
94+ < span class ="hljs-comment "> // res2: ConfigValue[Effect, SerialNumber] = ConfigValue$901908764 </ span >
9595</ code > </ pre >
9696< h2 > < a class ="anchor " aria-hidden ="true " id ="enumeratum "> </ a > < a href ="#enumeratum " aria-hidden ="true " class ="hash-link "> < svg class ="hash-link-icon " aria-hidden ="true " height ="16 " version ="1.1 " viewBox ="0 0 16 16 " width ="16 "> < path fill-rule ="evenodd " d ="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z "> </ path > </ svg > </ a > enumeratum</ h2 >
9797< p > The < code > ciris-enumeratum</ code > module provides < a href ="/api/ciris/ConfigDecoder.html "> < code > ConfigDecoder</ code > </ a > s for < a href ="https://github.com/lloydmeta/enumeratum "> enumeratum</ a > enumerations.</ p >
@@ -112,7 +112,7 @@ <h2><a class="anchor" aria-hidden="true" id="enumeratum"></a><a href="#enumeratu
112112}
113113
114114env(< span class ="hljs-string "> "SUIT"</ span > ).as[< span class ="hljs-type "> Suit</ span > ]
115- < span class ="hljs-comment "> // res4: ciris.ConfigValue[ciris.package.Effect, Suit] = ConfigValue$989426980 </ span >
115+ < span class ="hljs-comment "> // res4: ciris.ConfigValue[ciris.package.Effect, Suit] = ConfigValue$110093063 </ span >
116116</ code > </ pre >
117117< p > For < code > ValueEnum</ code > s, also mix in the matching < code > CirisValueEnum</ code > to derive a < a href ="/api/ciris/ConfigDecoder.html "> < code > ConfigDecoder</ code > </ a > instance.</ p >
118118< pre > < code class ="hljs css language-scala "> < span class ="hljs-keyword "> import</ span > ciris.env
@@ -129,7 +129,7 @@ <h2><a class="anchor" aria-hidden="true" id="enumeratum"></a><a href="#enumeratu
129129}
130130
131131env(< span class ="hljs-string "> "COLOR"</ span > ).as[< span class ="hljs-type "> Color</ span > ]
132- < span class ="hljs-comment "> // res6: ciris.ConfigValue[ciris.package.Effect, Color] = ConfigValue$144450097 </ span >
132+ < span class ="hljs-comment "> // res6: ciris.ConfigValue[ciris.package.Effect, Color] = ConfigValue$1129379064 </ span >
133133</ code > </ pre >
134134< h2 > < a class ="anchor " aria-hidden ="true " id ="http4s "> </ a > < a href ="#http4s " aria-hidden ="true " class ="hash-link "> < svg class ="hash-link-icon " aria-hidden ="true " height ="16 " version ="1.1 " viewBox ="0 0 16 16 " width ="16 "> < path fill-rule ="evenodd " d ="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z "> </ path > </ svg > </ a > http4s</ h2 >
135135< p > The < code > ciris-http4s</ code > module provides < a href ="/api/ciris/ConfigDecoder.html "> < code > ConfigDecoder</ code > </ a > s for < a href ="https://github.com/Comcast/ip4s "> ip4s</ a > and < a href ="https://github.com/http4s/http4s "> http4s</ a > types.</ p >
@@ -141,13 +141,13 @@ <h2><a class="anchor" aria-hidden="true" id="http4s"></a><a href="#http4s" aria-
141141< span class ="hljs-keyword "> import</ span > org.http4s.< span class ="hljs-type "> Uri</ span >
142142
143143env(< span class ="hljs-string "> "HOST"</ span > ).as[< span class ="hljs-type "> Host</ span > ]
144- < span class ="hljs-comment "> // res8: ciris.ConfigValue[ciris.package.Effect, Host] = ConfigValue$1691653371 </ span >
144+ < span class ="hljs-comment "> // res8: ciris.ConfigValue[ciris.package.Effect, Host] = ConfigValue$720289857 </ span >
145145env(< span class ="hljs-string "> "PORT"</ span > ).as[< span class ="hljs-type "> Port</ span > ]
146- < span class ="hljs-comment "> // res9: ciris.ConfigValue[ciris.package.Effect, Port] = ConfigValue$546589135 </ span >
146+ < span class ="hljs-comment "> // res9: ciris.ConfigValue[ciris.package.Effect, Port] = ConfigValue$1309893512 </ span >
147147env(< span class ="hljs-string "> "ORIGIN"</ span > ).as[< span class ="hljs-type "> Origin</ span > ]
148- < span class ="hljs-comment "> // res10: ciris.ConfigValue[ciris.package.Effect, Origin] = ConfigValue$882467255 </ span >
148+ < span class ="hljs-comment "> // res10: ciris.ConfigValue[ciris.package.Effect, Origin] = ConfigValue$2060691139 </ span >
149149env(< span class ="hljs-string "> "URI"</ span > ).as[< span class ="hljs-type "> Uri</ span > ]
150- < span class ="hljs-comment "> // res11: ciris.ConfigValue[ciris.package.Effect, Uri] = ConfigValue$860447155 </ span >
150+ < span class ="hljs-comment "> // res11: ciris.ConfigValue[ciris.package.Effect, Uri] = ConfigValue$1889436655 </ span >
151151</ code > </ pre >
152152< h2 > < a class ="anchor " aria-hidden ="true " id ="http4s-aws "> </ a > < a href ="#http4s-aws " aria-hidden ="true " class ="hash-link "> < svg class ="hash-link-icon " aria-hidden ="true " height ="16 " version ="1.1 " viewBox ="0 0 16 16 " width ="16 "> < path fill-rule ="evenodd " d ="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z "> </ path > </ svg > </ a > http4s-aws</ h2 >
153153< p > The < code > ciris-http4s-aws</ code > module provides a way to read decrypted values from the < a href ="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html "> AWS Systems Manager (SSM) Parameter Store</ a > using the < a href ="https://github.com/maginepro/http4s-aws "> http4s-aws</ a > library. Following is an example of how parameter values can be retrieved. Note parameter values are wrapped in < a href ="/docs/configurations#secrets "> Secret</ a > by default since they are usually sensitive.</ p >
@@ -186,7 +186,7 @@ <h2><a class="anchor" aria-hidden="true" id="refined"></a><a href="#refined" ari
186186< span class ="hljs-keyword "> import</ span > eu.timepit.refined.types.numeric.< span class ="hljs-type "> PosInt</ span >
187187
188188env(< span class ="hljs-string "> "POS_INT"</ span > ).as[< span class ="hljs-type "> PosInt</ span > ]
189- < span class ="hljs-comment "> // res14: ciris.ConfigValue[ciris.package.Effect, PosInt] = ConfigValue$678812177 </ span >
189+ < span class ="hljs-comment "> // res14: ciris.ConfigValue[ciris.package.Effect, PosInt] = ConfigValue$601773747 </ span >
190190</ code > </ pre >
191191< h2 > < a class ="anchor " aria-hidden ="true " id ="squants "> </ a > < a href ="#squants " aria-hidden ="true " class ="hash-link "> < svg class ="hash-link-icon " aria-hidden ="true " height ="16 " version ="1.1 " viewBox ="0 0 16 16 " width ="16 "> < path fill-rule ="evenodd " d ="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z "> </ path > </ svg > </ a > squants</ h2 >
192192< p > The < code > ciris-squants</ code > module provides < a href ="/api/ciris/ConfigDecoder.html "> < code > ConfigDecoder</ code > </ a > s for < a href ="https://github.com/typelevel/squants "> squants</ a > quantities.</ p >
@@ -195,6 +195,6 @@ <h2><a class="anchor" aria-hidden="true" id="squants"></a><a href="#squants" ari
195195< span class ="hljs-keyword "> import</ span > squants.market.< span class ="hljs-type "> Money</ span >
196196
197197env(< span class ="hljs-string "> "MONEY"</ span > ).as[< span class ="hljs-type "> Money</ span > ]
198- < span class ="hljs-comment "> // res16: ciris.ConfigValue[ciris.package.Effect, Money] = ConfigValue$1149700876 </ span >
198+ < span class ="hljs-comment "> // res16: ciris.ConfigValue[ciris.package.Effect, Money] = ConfigValue$274211257 </ span >
199199</ code > </ pre >
200200</ span > </ div > </ article > </ div > < div class ="docs-prevnext "> < a class ="docs-prev button " href ="/docs/configurations "> < span class ="arrow-prev "> ← </ span > < span > Configurations</ span > </ a > </ div > </ div > </ div > < nav class ="onPageNav "> < ul class ="toc-headings "> < li > < a href ="#circe "> circe</ a > </ li > < li > < a href ="#circe-yaml "> circe-yaml</ a > </ li > < li > < a href ="#enumeratum "> enumeratum</ a > </ li > < li > < a href ="#http4s "> http4s</ a > </ li > < li > < a href ="#http4s-aws "> http4s-aws</ a > </ li > < li > < a href ="#refined "> refined</ a > </ li > < li > < a href ="#squants "> squants</ a > </ li > </ ul > </ nav > </ div > < footer class ="nav-footer " id ="footer "> < hr class ="separator "/> < section class ="copyright "> Copyright © 2017-2026 Viktor Rudebeck.< br /> Icon designed by < a href ="https://www.flaticon.com/authors/freepik " rel ="noopener "> Freepik</ a > from Flaticon.</ section > </ footer > </ div > </ body > </ html >
0 commit comments