diff --git a/docs/codecs.html b/docs/codecs.html index fb95b7b0..c85e3a27 100644 --- a/docs/codecs.html +++ b/docs/codecs.html @@ -68,12 +68,12 @@ // codec = Validated( // codec = ImapErrors( // codec = Codec("long"), -// f = vulcan.Codec$WithValidSchema$$Lambda$14964/1487070459@62f8534a, -// g = vulcan.Codec$WithValidSchema$$Lambda$14965/506754255@66a574a6 +// f = vulcan.Codec$WithValidSchema$$Lambda$14959/43688165@207c048c, +// g = vulcan.Codec$WithValidSchema$$Lambda$14960/617913945@583458e8 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@59bd5c7c +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@6007a3af // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), @@ -114,19 +114,19 @@ // codec = Validated( // codec = ImapErrors( // codec = Codec("long"), -// f = vulcan.Codec$WithValidSchema$$Lambda$14964/1487070459@62f8534a, -// g = vulcan.Codec$WithValidSchema$$Lambda$14965/506754255@66a574a6 +// f = vulcan.Codec$WithValidSchema$$Lambda$14959/43688165@207c048c, +// g = vulcan.Codec$WithValidSchema$$Lambda$14960/617913945@583458e8 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@59bd5c7c +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@6007a3af // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), // typeName = "Instant" // ), -// f = vulcan.Codec$WithValidSchema$$Lambda$14964/1487070459@48e9d1d4, -// g = vulcan.Codec$WithValidSchema$$Lambda$14965/506754255@49425249 +// f = vulcan.Codec$WithValidSchema$$Lambda$14959/43688165@53a5c22a, +// g = vulcan.Codec$WithValidSchema$$Lambda$14960/617913945@2c97e970 // )

When we have a newtype where we ensure values are valid, we can use imapError instead.

@@ -145,7 +145,7 @@ // res5: Codec.Aux[Codec.string.AvroType, SerialNumber] = ImapErrors( // codec = Codec("string"), // f = <function1>, -// g = vulcan.Codec$$Lambda$14986/209306302@4df3acec +// g = vulcan.Codec$$Lambda$14981/1145223858@1bb21395 // )

Decimals

@@ -305,8 +305,8 @@

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@5d758337), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@2c6f067e) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@66f4abea), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@3f68251b) // ) // ), // validSchema = ["int","string"] diff --git a/docs/codecs/index.html b/docs/codecs/index.html index fb95b7b0..c85e3a27 100644 --- a/docs/codecs/index.html +++ b/docs/codecs/index.html @@ -68,12 +68,12 @@ // codec = Validated( // codec = ImapErrors( // codec = Codec("long"), -// f = vulcan.Codec$WithValidSchema$$Lambda$14964/1487070459@62f8534a, -// g = vulcan.Codec$WithValidSchema$$Lambda$14965/506754255@66a574a6 +// f = vulcan.Codec$WithValidSchema$$Lambda$14959/43688165@207c048c, +// g = vulcan.Codec$WithValidSchema$$Lambda$14960/617913945@583458e8 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@59bd5c7c +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@6007a3af // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), @@ -114,19 +114,19 @@ // codec = Validated( // codec = ImapErrors( // codec = Codec("long"), -// f = vulcan.Codec$WithValidSchema$$Lambda$14964/1487070459@62f8534a, -// g = vulcan.Codec$WithValidSchema$$Lambda$14965/506754255@66a574a6 +// f = vulcan.Codec$WithValidSchema$$Lambda$14959/43688165@207c048c, +// g = vulcan.Codec$WithValidSchema$$Lambda$14960/617913945@583458e8 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@59bd5c7c +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@6007a3af // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), // typeName = "Instant" // ), -// f = vulcan.Codec$WithValidSchema$$Lambda$14964/1487070459@48e9d1d4, -// g = vulcan.Codec$WithValidSchema$$Lambda$14965/506754255@49425249 +// f = vulcan.Codec$WithValidSchema$$Lambda$14959/43688165@53a5c22a, +// g = vulcan.Codec$WithValidSchema$$Lambda$14960/617913945@2c97e970 // )

When we have a newtype where we ensure values are valid, we can use imapError instead.

@@ -145,7 +145,7 @@ // res5: Codec.Aux[Codec.string.AvroType, SerialNumber] = ImapErrors( // codec = Codec("string"), // f = <function1>, -// g = vulcan.Codec$$Lambda$14986/209306302@4df3acec +// g = vulcan.Codec$$Lambda$14981/1145223858@1bb21395 // )

Decimals

@@ -305,8 +305,8 @@

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@5d758337), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@2c6f067e) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@66f4abea), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@3f68251b) // ) // ), // validSchema = ["int","string"] diff --git a/docs/modules.html b/docs/modules.html index adb5d980..ebccd88e 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -142,8 +142,8 @@

Codec[Day] // res3: Codec.Aux[Int, Day] = ImapErrors( // codec = Codec("int"), -// f = enumeratum.values.Vulcan$$$Lambda$15439/566543139@4e5e4ade, -// g = vulcan.Codec$$Lambda$14986/209306302@2552fbeb +// f = enumeratum.values.Vulcan$$$Lambda$15434/1876597375@3b72402d, +// g = vulcan.Codec$$Lambda$14981/1145223858@6ccc5e0e // )

Generic

@@ -195,8 +195,8 @@

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@5bc5c043), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@6fb44f9f) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@3ba27365), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@6bf7a083) // ) // ), // validSchema = [{"type":"record","name":"First","namespace":"com.example","fields":[{"name":"value","type":"int"}]},{"type":"record","name":"Second","namespace":"com.example","fields":[{"name":"value","type":"string"}]}] @@ -216,8 +216,8 @@

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@5300e00d), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@61bfc425) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@42adf6f8), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@4c1fec8d) // ) // ), // validSchema = ["int","string"] @@ -303,8 +303,8 @@

Codec[PosInt] // res9: Codec[eu.timepit.refined.api.Refined[Int, eu.timepit.refined.numeric.Positive]] = ImapErrors( // codec = Codec("int"), -// f = vulcan.refined.package$$$Lambda$15460/660892786@140dd789, -// g = vulcan.Codec$$Lambda$14986/209306302@5988aa20 +// f = vulcan.refined.package$$$Lambda$15455/1274064790@648e9730, +// g = vulcan.Codec$$Lambda$14981/1145223858@32abd09a // ) Codec.encode[PosInt](1) diff --git a/docs/modules/index.html b/docs/modules/index.html index adb5d980..ebccd88e 100644 --- a/docs/modules/index.html +++ b/docs/modules/index.html @@ -142,8 +142,8 @@

Codec[Day] // res3: Codec.Aux[Int, Day] = ImapErrors( // codec = Codec("int"), -// f = enumeratum.values.Vulcan$$$Lambda$15439/566543139@4e5e4ade, -// g = vulcan.Codec$$Lambda$14986/209306302@2552fbeb +// f = enumeratum.values.Vulcan$$$Lambda$15434/1876597375@3b72402d, +// g = vulcan.Codec$$Lambda$14981/1145223858@6ccc5e0e // )

Generic

@@ -195,8 +195,8 @@

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@5bc5c043), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@6fb44f9f) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@3ba27365), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@6bf7a083) // ) // ), // validSchema = [{"type":"record","name":"First","namespace":"com.example","fields":[{"name":"value","type":"int"}]},{"type":"record","name":"Second","namespace":"com.example","fields":[{"name":"value","type":"string"}]}] @@ -216,8 +216,8 @@

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@5300e00d), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@61bfc425) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@42adf6f8), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@4c1fec8d) // ) // ), // validSchema = ["int","string"] @@ -303,8 +303,8 @@

Codec[PosInt] // res9: Codec[eu.timepit.refined.api.Refined[Int, eu.timepit.refined.numeric.Positive]] = ImapErrors( // codec = Codec("int"), -// f = vulcan.refined.package$$$Lambda$15460/660892786@140dd789, -// g = vulcan.Codec$$Lambda$14986/209306302@5988aa20 +// f = vulcan.refined.package$$$Lambda$15455/1274064790@648e9730, +// g = vulcan.Codec$$Lambda$14981/1145223858@32abd09a // ) Codec.encode[PosInt](1) diff --git a/docs/overview.html b/docs/overview.html index 4bdadc44..15476018 100644 --- a/docs/overview.html +++ b/docs/overview.html @@ -98,7 +98,7 @@

resolvers += Resolver.sonatypeRepo("snapshots") -libraryDependencies += "com.github.fd4s" %% "vulcan" % "1.9.0+2-739467b9-SNAPSHOT" +libraryDependencies += "com.github.fd4s" %% "vulcan" % "1.9.0+4-00181306-SNAPSHOT"

Dependencies

Refer to the table below for dependencies and version support across modules.

diff --git a/docs/overview/index.html b/docs/overview/index.html index 4bdadc44..15476018 100644 --- a/docs/overview/index.html +++ b/docs/overview/index.html @@ -98,7 +98,7 @@

resolvers += Resolver.sonatypeRepo("snapshots") -libraryDependencies += "com.github.fd4s" %% "vulcan" % "1.9.0+2-739467b9-SNAPSHOT" +libraryDependencies += "com.github.fd4s" %% "vulcan" % "1.9.0+4-00181306-SNAPSHOT"

Dependencies

Refer to the table below for dependencies and version support across modules.