Scala 3 compile time mirrors: how to get field names when I don’t have an instance of the type
I have defined this in order to serialize any case class whose fields a scalars:
How to get the value of a field of a case class by reflection in Scala 3
I’m migrating code that used to use Scala 2 reflection.
Scala 3 reflection: collect all members that are singleton objects
I have a method in Scala 2 that uses reflection. It doesn’t work in Scala 3, and I would like to reimplement it so it works for Scala 3. (I will no longer need it for Scala 2 anymore, so it need not work for both).