One of those examples shows the StringInterpolator feature implemented for Freestyle Cassandra, but it's making use of RuntimeCQLInterpolator instead of the SchemaFileInterpolator macro.
We'd like to move these examples to make use of the SchemaFileInterpolator macro.
We have a Freestyle Cassandra Example repository (https://github.com/frees-io/freestyle-cassandra-example) containing some examples showing how to use Freestyle Cassandra and its different features.
One of those examples shows the
StringInterpolator
feature implemented for Freestyle Cassandra, but it's making use ofRuntimeCQLInterpolator
instead of theSchemaFileInterpolator
macro. We'd like to move these examples to make use of theSchemaFileInterpolator
macro.For code references, you can check the
SchemaFileInterpolator
tests: https://github.com/frees-io/freestyle-cassandra/blob/9e217341a940c44d4fef91d9164157277c5d7ba6/macros-tests/src/test/scala/interpolator/SchemaFileInterpolatorTest.scala#L31-L74And
SchemaFileInterpolator
definition: https://github.com/frees-io/freestyle-cassandra/blob/9e217341a940c44d4fef91d9164157277c5d7ba6/macros-tests/src/main/scala/interpolator/MySchemaInterpolator.scala#L21-L24Note the
import MySchemaInterpolator._