diff --git a/docs/codecs.html b/docs/codecs.html index 4e7dc258..ac6cb48c 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$15793/0x000000010433c840@3c3819a3, -// g = vulcan.Codec$WithValidSchema$$Lambda$15794/0x000000010433c040@7ebf1571 +// f = vulcan.Codec$WithValidSchema$$Lambda$16577/0x000000010451d040@643ab9ac, +// g = vulcan.Codec$WithValidSchema$$Lambda$16578/0x000000010451c040@7e7b68e0 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@1f3ba384 +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@4e512a7d // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), @@ -114,19 +114,19 @@ // codec = Validated( // codec = ImapErrors( // codec = Codec("long"), -// f = vulcan.Codec$WithValidSchema$$Lambda$15793/0x000000010433c840@3c3819a3, -// g = vulcan.Codec$WithValidSchema$$Lambda$15794/0x000000010433c040@7ebf1571 +// f = vulcan.Codec$WithValidSchema$$Lambda$16577/0x000000010451d040@643ab9ac, +// g = vulcan.Codec$WithValidSchema$$Lambda$16578/0x000000010451c040@7e7b68e0 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@1f3ba384 +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@4e512a7d // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), // typeName = "Instant" // ), -// f = vulcan.Codec$WithValidSchema$$Lambda$15793/0x000000010433c840@7cfc0ae8, -// g = vulcan.Codec$WithValidSchema$$Lambda$15794/0x000000010433c040@380f8f66 +// f = vulcan.Codec$WithValidSchema$$Lambda$16577/0x000000010451d040@6838750e, +// g = vulcan.Codec$WithValidSchema$$Lambda$16578/0x000000010451c040@7ee025b3 // )

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$15864/0x0000000104459040@3a65fab7 +// g = vulcan.Codec$$Lambda$16648/0x0000000104639040@37342a // )

Decimals

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

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@12ee634), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@66fb9979) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@6ea04f81), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@50497ba8) // ) // ), // validSchema = ["int","string"] diff --git a/docs/codecs/index.html b/docs/codecs/index.html index 4e7dc258..ac6cb48c 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$15793/0x000000010433c840@3c3819a3, -// g = vulcan.Codec$WithValidSchema$$Lambda$15794/0x000000010433c040@7ebf1571 +// f = vulcan.Codec$WithValidSchema$$Lambda$16577/0x000000010451d040@643ab9ac, +// g = vulcan.Codec$WithValidSchema$$Lambda$16578/0x000000010451c040@7e7b68e0 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@1f3ba384 +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@4e512a7d // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), @@ -114,19 +114,19 @@ // codec = Validated( // codec = ImapErrors( // codec = Codec("long"), -// f = vulcan.Codec$WithValidSchema$$Lambda$15793/0x000000010433c840@3c3819a3, -// g = vulcan.Codec$WithValidSchema$$Lambda$15794/0x000000010433c040@7ebf1571 +// f = vulcan.Codec$WithValidSchema$$Lambda$16577/0x000000010451d040@643ab9ac, +// g = vulcan.Codec$WithValidSchema$$Lambda$16578/0x000000010451c040@7e7b68e0 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@1f3ba384 +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@4e512a7d // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), // typeName = "Instant" // ), -// f = vulcan.Codec$WithValidSchema$$Lambda$15793/0x000000010433c840@7cfc0ae8, -// g = vulcan.Codec$WithValidSchema$$Lambda$15794/0x000000010433c040@380f8f66 +// f = vulcan.Codec$WithValidSchema$$Lambda$16577/0x000000010451d040@6838750e, +// g = vulcan.Codec$WithValidSchema$$Lambda$16578/0x000000010451c040@7ee025b3 // )

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$15864/0x0000000104459040@3a65fab7 +// g = vulcan.Codec$$Lambda$16648/0x0000000104639040@37342a // )

Decimals

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

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@12ee634), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@66fb9979) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@6ea04f81), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@50497ba8) // ) // ), // validSchema = ["int","string"] diff --git a/docs/modules.html b/docs/modules.html index 0512ff9a..52355510 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$16273/0x000000010462f840@40c5235a, -// g = vulcan.Codec$$Lambda$15864/0x0000000104459040@355b8ce8 +// f = enumeratum.values.Vulcan$$$Lambda$17057/0x000000010480d840@6538d79d, +// g = vulcan.Codec$$Lambda$16648/0x0000000104639040@746ef7a5 // )

Generic

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

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@772397d0), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@361d6c97) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@55b8f4c6), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@47dd1728) // ) // ), // 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@29d9f624), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@5f03049e) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@4fc9917), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@2af26fe4) // ) // ), // 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$16295/0x0000000104647040@48f55a65, -// g = vulcan.Codec$$Lambda$15864/0x0000000104459040@4df6ac +// f = vulcan.refined.package$$$Lambda$17079/0x0000000104827840@1354a23c, +// g = vulcan.Codec$$Lambda$16648/0x0000000104639040@7da4157a // ) Codec.encode[PosInt](1) diff --git a/docs/modules/index.html b/docs/modules/index.html index 0512ff9a..52355510 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$16273/0x000000010462f840@40c5235a, -// g = vulcan.Codec$$Lambda$15864/0x0000000104459040@355b8ce8 +// f = enumeratum.values.Vulcan$$$Lambda$17057/0x000000010480d840@6538d79d, +// g = vulcan.Codec$$Lambda$16648/0x0000000104639040@746ef7a5 // )

Generic

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

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@772397d0), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@361d6c97) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@55b8f4c6), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@47dd1728) // ) // ), // 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@29d9f624), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@5f03049e) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@4fc9917), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@2af26fe4) // ) // ), // 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$16295/0x0000000104647040@48f55a65, -// g = vulcan.Codec$$Lambda$15864/0x0000000104459040@4df6ac +// f = vulcan.refined.package$$$Lambda$17079/0x0000000104827840@1354a23c, +// g = vulcan.Codec$$Lambda$16648/0x0000000104639040@7da4157a // ) Codec.encode[PosInt](1) diff --git a/docs/overview.html b/docs/overview.html index 6af313f0..38b1d427 100644 --- a/docs/overview.html +++ b/docs/overview.html @@ -98,7 +98,7 @@

resolvers += Resolver.sonatypeRepo("snapshots") -libraryDependencies += "com.github.fd4s" %% "vulcan" % "1.11.0+8-d032c64c-SNAPSHOT" +libraryDependencies += "com.github.fd4s" %% "vulcan" % "1.11.0+9-a4ef1ab5-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 6af313f0..38b1d427 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.11.0+8-d032c64c-SNAPSHOT" +libraryDependencies += "com.github.fd4s" %% "vulcan" % "1.11.0+9-a4ef1ab5-SNAPSHOT"

Dependencies

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