diff --git a/docs/codecs.html b/docs/codecs.html index b18035ed..e2e904b3 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$15859/0x00000001043ac840@587a458d, -// g = vulcan.Codec$WithValidSchema$$Lambda$15860/0x0000000104418040@72ce1e5c +// f = vulcan.Codec$WithValidSchema$$Lambda$15817/0x0000000104400840@61599bac, +// g = vulcan.Codec$WithValidSchema$$Lambda$15818/0x0000000104401840@4779ad51 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@25ae8df7 +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@2d589149 // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), @@ -114,19 +114,19 @@ // codec = Validated( // codec = ImapErrors( // codec = Codec("long"), -// f = vulcan.Codec$WithValidSchema$$Lambda$15859/0x00000001043ac840@587a458d, -// g = vulcan.Codec$WithValidSchema$$Lambda$15860/0x0000000104418040@72ce1e5c +// f = vulcan.Codec$WithValidSchema$$Lambda$15817/0x0000000104400840@61599bac, +// g = vulcan.Codec$WithValidSchema$$Lambda$15818/0x0000000104401840@4779ad51 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@25ae8df7 +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@2d589149 // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), // typeName = "Instant" // ), -// f = vulcan.Codec$WithValidSchema$$Lambda$15859/0x00000001043ac840@6b673ffb, -// g = vulcan.Codec$WithValidSchema$$Lambda$15860/0x0000000104418040@6cc982f9 +// f = vulcan.Codec$WithValidSchema$$Lambda$15817/0x0000000104400840@3a0e3940, +// g = vulcan.Codec$WithValidSchema$$Lambda$15818/0x0000000104401840@415a98bc // )

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$15930/0x0000000104464040@55a856fe +// g = vulcan.Codec$$Lambda$15888/0x0000000104454840@77d28e97 // )

Decimals

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

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@766c0d7f), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@c08bed5) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@1d3707ba), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@52b6176b) // ) // ), // validSchema = ["int","string"] diff --git a/docs/codecs/index.html b/docs/codecs/index.html index b18035ed..e2e904b3 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$15859/0x00000001043ac840@587a458d, -// g = vulcan.Codec$WithValidSchema$$Lambda$15860/0x0000000104418040@72ce1e5c +// f = vulcan.Codec$WithValidSchema$$Lambda$15817/0x0000000104400840@61599bac, +// g = vulcan.Codec$WithValidSchema$$Lambda$15818/0x0000000104401840@4779ad51 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@25ae8df7 +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@2d589149 // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), @@ -114,19 +114,19 @@ // codec = Validated( // codec = ImapErrors( // codec = Codec("long"), -// f = vulcan.Codec$WithValidSchema$$Lambda$15859/0x00000001043ac840@587a458d, -// g = vulcan.Codec$WithValidSchema$$Lambda$15860/0x0000000104418040@72ce1e5c +// f = vulcan.Codec$WithValidSchema$$Lambda$15817/0x0000000104400840@61599bac, +// g = vulcan.Codec$WithValidSchema$$Lambda$15818/0x0000000104401840@4779ad51 // ), // validSchema = "long" // ), -// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@25ae8df7 +// logicalType = org.apache.avro.LogicalTypes$TimestampMillis@2d589149 // ), // validSchema = {"type":"long","logicalType":"timestamp-millis"} // ), // typeName = "Instant" // ), -// f = vulcan.Codec$WithValidSchema$$Lambda$15859/0x00000001043ac840@6b673ffb, -// g = vulcan.Codec$WithValidSchema$$Lambda$15860/0x0000000104418040@6cc982f9 +// f = vulcan.Codec$WithValidSchema$$Lambda$15817/0x0000000104400840@3a0e3940, +// g = vulcan.Codec$WithValidSchema$$Lambda$15818/0x0000000104401840@415a98bc // )

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$15930/0x0000000104464040@55a856fe +// g = vulcan.Codec$$Lambda$15888/0x0000000104454840@77d28e97 // )

Decimals

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

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@766c0d7f), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@c08bed5) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@1d3707ba), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@52b6176b) // ) // ), // validSchema = ["int","string"] diff --git a/docs/modules.html b/docs/modules.html index 0205e400..51dcca3e 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$16330/0x0000000104697040@4bb0bf49, -// g = vulcan.Codec$$Lambda$15930/0x0000000104464040@34885106 +// f = enumeratum.values.Vulcan$$$Lambda$16285/0x000000010467e040@14a10b66, +// g = vulcan.Codec$$Lambda$15888/0x0000000104454840@4dbfe8e7 // )

Generic

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

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@6445b752), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@6d36215d) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@454c3ef9), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@30321850) // ) // ), // 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@7510eb66), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@1f05d15b) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@1ae3329c), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@35701042) // ) // ), // 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$16352/0x00000001046af840@183837ec, -// g = vulcan.Codec$$Lambda$15930/0x0000000104464040@27fac2ad +// f = vulcan.refined.package$$$Lambda$16307/0x0000000104697840@de76d7e, +// g = vulcan.Codec$$Lambda$15888/0x0000000104454840@465908a2 // ) Codec.encode[PosInt](1) diff --git a/docs/modules/index.html b/docs/modules/index.html index 0205e400..51dcca3e 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$16330/0x0000000104697040@4bb0bf49, -// g = vulcan.Codec$$Lambda$15930/0x0000000104464040@34885106 +// f = enumeratum.values.Vulcan$$$Lambda$16285/0x000000010467e040@14a10b66, +// g = vulcan.Codec$$Lambda$15888/0x0000000104454840@4dbfe8e7 // )

Generic

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

// codec = Validated( // codec = UnionCodec( // alts = Append( -// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@6445b752), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@6d36215d) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@454c3ef9), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@30321850) // ) // ), // 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@7510eb66), -// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@1f05d15b) +// leftNE = Singleton(a = vulcan.Codec$Alt$$anon$6@1ae3329c), +// rightNE = Singleton(a = vulcan.Codec$Alt$$anon$6@35701042) // ) // ), // 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$16352/0x00000001046af840@183837ec, -// g = vulcan.Codec$$Lambda$15930/0x0000000104464040@27fac2ad +// f = vulcan.refined.package$$$Lambda$16307/0x0000000104697840@de76d7e, +// g = vulcan.Codec$$Lambda$15888/0x0000000104454840@465908a2 // ) Codec.encode[PosInt](1) diff --git a/docs/overview.html b/docs/overview.html index 73178e61..04b9d831 100644 --- a/docs/overview.html +++ b/docs/overview.html @@ -98,7 +98,7 @@

resolvers += Resolver.sonatypeRepo("snapshots") -libraryDependencies += "com.github.fd4s" %% "vulcan" % "1.11.1+18-131771da-SNAPSHOT" +libraryDependencies += "com.github.fd4s" %% "vulcan" % "1.11.1+19-673c8087-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 73178e61..04b9d831 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.1+18-131771da-SNAPSHOT" +libraryDependencies += "com.github.fd4s" %% "vulcan" % "1.11.1+19-673c8087-SNAPSHOT"

Dependencies

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