diff --git a/docs/codecs.html b/docs/codecs.html index 9d6e97ae..48269a53 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$15601/0x00000001042c9040@15e1f1e9, -// g = vulcan.Codec$WithValidSchema$$Lambda$15602/0x00000001042c9840@49044d3a +// f = vulcan.Codec$WithValidSchema$$Lambda$15551/0x000000010426c840@7fe2dfe5, +// g = vulcan.Codec$WithValidSchema$$Lambda$15552/0x000000010426c040@4d545704 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@38aae2f6 +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@5f311201 // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), @@ -114,19 +114,19 @@ // codec = Validated( // codec = ImapErrors( // codec = Codec("long"), -// f = vulcan.Codec$WithValidSchema$$Lambda$15601/0x00000001042c9040@15e1f1e9, -// g = vulcan.Codec$WithValidSchema$$Lambda$15602/0x00000001042c9840@49044d3a +// f = vulcan.Codec$WithValidSchema$$Lambda$15551/0x000000010426c840@7fe2dfe5, +// g = vulcan.Codec$WithValidSchema$$Lambda$15552/0x000000010426c040@4d545704 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@38aae2f6 +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@5f311201 // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), // typeName = "Instant" // ), -// f = vulcan.Codec$WithValidSchema$$Lambda$15601/0x00000001042c9040@38b6d907, -// g = vulcan.Codec$WithValidSchema$$Lambda$15602/0x00000001042c9840@56d69dee +// f = vulcan.Codec$WithValidSchema$$Lambda$15551/0x000000010426c840@620f748a, +// g = vulcan.Codec$WithValidSchema$$Lambda$15552/0x000000010426c040@192cd280 // )

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$15672/0x000000010431c040@62fb2ba1 +// g = vulcan.Codec$$Lambda$15622/0x000000010438b040@68c7cba7 // )

Decimals

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

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@56e64995), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@687b05d1) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@488ee655), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@44881aa6) // ) // ), // validSchema = ["int","string"] diff --git a/docs/codecs/index.html b/docs/codecs/index.html index 9d6e97ae..48269a53 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$15601/0x00000001042c9040@15e1f1e9, -// g = vulcan.Codec$WithValidSchema$$Lambda$15602/0x00000001042c9840@49044d3a +// f = vulcan.Codec$WithValidSchema$$Lambda$15551/0x000000010426c840@7fe2dfe5, +// g = vulcan.Codec$WithValidSchema$$Lambda$15552/0x000000010426c040@4d545704 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@38aae2f6 +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@5f311201 // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), @@ -114,19 +114,19 @@ // codec = Validated( // codec = ImapErrors( // codec = Codec("long"), -// f = vulcan.Codec$WithValidSchema$$Lambda$15601/0x00000001042c9040@15e1f1e9, -// g = vulcan.Codec$WithValidSchema$$Lambda$15602/0x00000001042c9840@49044d3a +// f = vulcan.Codec$WithValidSchema$$Lambda$15551/0x000000010426c840@7fe2dfe5, +// g = vulcan.Codec$WithValidSchema$$Lambda$15552/0x000000010426c040@4d545704 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@38aae2f6 +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@5f311201 // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), // typeName = "Instant" // ), -// f = vulcan.Codec$WithValidSchema$$Lambda$15601/0x00000001042c9040@38b6d907, -// g = vulcan.Codec$WithValidSchema$$Lambda$15602/0x00000001042c9840@56d69dee +// f = vulcan.Codec$WithValidSchema$$Lambda$15551/0x000000010426c840@620f748a, +// g = vulcan.Codec$WithValidSchema$$Lambda$15552/0x000000010426c040@192cd280 // )

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$15672/0x000000010431c040@62fb2ba1 +// g = vulcan.Codec$$Lambda$15622/0x000000010438b040@68c7cba7 // )

Decimals

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

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@56e64995), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@687b05d1) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@488ee655), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@44881aa6) // ) // ), // validSchema = ["int","string"] diff --git a/docs/modules.html b/docs/modules.html index 12c376bd..3b869d4e 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$16081/0x000000010453b040@72b62df8, -// g = vulcan.Codec$$Lambda$15672/0x000000010431c040@34463223 +// f = enumeratum.values.Vulcan$$$Lambda$16031/0x0000000104562040@1ab33f9b, +// g = vulcan.Codec$$Lambda$15622/0x000000010438b040@315de51b // )

Generic

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

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@2547b5d2), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@183191b1) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@1cddc834), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@40ce44e3) // ) // ), // 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@3737a86d), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@4dd418bc) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@5e54fa1), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@6e6e26e8) // ) // ), // 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$16103/0x0000000104557840@2e1f9002, -// g = vulcan.Codec$$Lambda$15672/0x000000010431c040@6eae18fb +// f = vulcan.refined.package$$$Lambda$16053/0x0000000104577040@122272f, +// g = vulcan.Codec$$Lambda$15622/0x000000010438b040@17de4078 // ) Codec.encode[PosInt](1) diff --git a/docs/modules/index.html b/docs/modules/index.html index 12c376bd..3b869d4e 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$16081/0x000000010453b040@72b62df8, -// g = vulcan.Codec$$Lambda$15672/0x000000010431c040@34463223 +// f = enumeratum.values.Vulcan$$$Lambda$16031/0x0000000104562040@1ab33f9b, +// g = vulcan.Codec$$Lambda$15622/0x000000010438b040@315de51b // )

Generic

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

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@2547b5d2), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@183191b1) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@1cddc834), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@40ce44e3) // ) // ), // 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@3737a86d), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@4dd418bc) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@5e54fa1), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@6e6e26e8) // ) // ), // 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$16103/0x0000000104557840@2e1f9002, -// g = vulcan.Codec$$Lambda$15672/0x000000010431c040@6eae18fb +// f = vulcan.refined.package$$$Lambda$16053/0x0000000104577040@122272f, +// g = vulcan.Codec$$Lambda$15622/0x000000010438b040@17de4078 // ) Codec.encode[PosInt](1) diff --git a/docs/overview.html b/docs/overview.html index 15c57a6a..49a3c64e 100644 --- a/docs/overview.html +++ b/docs/overview.html @@ -98,7 +98,7 @@

resolvers += Resolver.sonatypeRepo("snapshots") -libraryDependencies += "com.github.fd4s" %% "vulcan" % "1.10.1+33-42420b67-SNAPSHOT" +libraryDependencies += "com.github.fd4s" %% "vulcan" % "1.10.1+37-e22efbb0-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 15c57a6a..49a3c64e 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.10.1+33-42420b67-SNAPSHOT" +libraryDependencies += "com.github.fd4s" %% "vulcan" % "1.10.1+37-e22efbb0-SNAPSHOT"

Dependencies

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