Fork of Airframe Surface with some functionality removed. The fork uses the same class names as the original library, so it can be used as a drop-in replacement, but it uses a different package names because AirSpec requires the functionality of the original Airframe Surface library.
It is published to GitHub Packages under the group id org.opengrabeso/light-surface
.
This fork was created as a workaround for multiple issues in Scala 3 version of Airframe library. Some of the most notable issues are:
- Cannot get methodsOf for some generic types, esp. in Scala 3
- Surface.methodsOf for Enumeration fails in Scala 3
- Surface.methodsOf for Seq fails with Scala
- Surface.of sometimes fails for classes using generic types on parameters
All these issues are related to Surface.objectFactory
or ClassMethodSurface.methodCaller
. Once these issues are resolved, this fork is planned to be deprecated.