wvlet / config

Configure Scala applications in a simple flow
2 stars 1 forks source link

Use surface #1

Closed xerial closed 7 years ago

xerial commented 7 years ago

Migrating to Surface based implementation.

Consideration:

xerial commented 7 years ago

@Lewuathe Config now uses RuntimeSurface instead of object-schema. One of the reason why I stopped using object-schema is, it reads ScalaSig embedded in Scala class files, but we can use the runtime type information provided by Scala compiler to do the same task.

This is much faster and can provide almost the same functionality with compile-time type generated Surface.