Replace scala-reflect with izumi-reflect
In progress PR of replacing scala-reflect with izumi-reflect with the intention of adding Scala 3 support to slick-pg (scala 3 doesn't support scala-reflect and that is intentional).
Currently blocked by https://github.com/zio/izumi-reflect/issues/436
@tminglei Do you have an opinion on the linked ticket and what approach should be used?
@tminglei are you around?
@mdedetrich my two cents, perhaps instead of trying to mechanically convert the code, maybe we should address the root issue, is reflection really needed to achieve the objectives? Even if it's a breaking change I think it would be better to just get rid of reflection.
I don't think izumi-reflect can do everything we need here. Have opened a pr to get the rest of the scala 3 support over the line in the hope that the Struct stuff can be implemented maybe with a macro or something...
@hughsimpson amazing
@nafg @mdedetrich Have implemented Struct support using inline in the scala 3 branch now, which I think will make this pr redundant. Was very useful starting point though 🙏