Open domartynov opened 2 years ago
To fix an issue with a custom implicits module due to OptionFormat being an inner class of StandardFormats breaking the match in ProductFormats.productElement2Field when custom module implicits are used: https://github.com/spray/spray-json/blob/a2b4986d17f8cc9c9080ecf46af8f69dc72be1d5/src/main/scala/spray/json/ProductFormats.scala#L46
OptionFormat
StandardFormats
ProductFormats.productElement2Field
Changes include a test case that reproduces the issue.
The patch is my original work and I license the work to the spray-json project under the project’s open source license.
To fix an issue with a custom implicits module due to
OptionFormat
being an inner class ofStandardFormats
breaking the match inProductFormats.productElement2Field
when custom module implicits are used: https://github.com/spray/spray-json/blob/a2b4986d17f8cc9c9080ecf46af8f69dc72be1d5/src/main/scala/spray/json/ProductFormats.scala#L46Changes include a test case that reproduces the issue.
The patch is my original work and I license the work to the spray-json project under the project’s open source license.