@_felipera

fromMedium
3 months ago
Scala

(In)Validating Library Design. DomainDocs4s: DDD, Reflection & Classpath Scanning.

This post goes through the process of transforming that idea to a draft of library design and then checking its technical feasibility.
...
So what do we want to build exactly?
...
Scala Compile-Time Reflection - Similarly as with listing the symbols, we can use TASTy files and TASTy inspector to access the code almost directly.
...
We have little choice here, as Scala annotations are not available through Java reflection and so we are stuck with Scala reflection.And if we want to be Scala 3 compatible, we are limited to compile-time reflection based on TASTy.
[ Load more ]