You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, we'd define a mapper API such that the serialization library could be swapped at runtime to account for numerous serialization frameworks, such as JAXB, Kotlin, etc. We have this pattern established already for ModelInfo and ELM, which support both JAXB and Jackson. See the model-jaxb and model-jackson modules as an example, which show how to define an interface and use a ServiceLoader at runtime to load the correct serialization dependency.
The text was updated successfully, but these errors were encountered:
The
CqlTranslatorOptionsMapper
class is used to serialize compiler options for CQL. This requires a direct dependency on Jackson, as seen here:https://github.com/cqframework/clinical_quality_language/blob/master/Src/java/cql-to-elm/build.gradle#L23-L24
Ideally, we'd define a mapper API such that the serialization library could be swapped at runtime to account for numerous serialization frameworks, such as JAXB, Kotlin, etc. We have this pattern established already for
ModelInfo
and ELM, which support both JAXB and Jackson. See themodel-jaxb
andmodel-jackson
modules as an example, which show how to define an interface and use aServiceLoader
at runtime to load the correct serialization dependency.The text was updated successfully, but these errors were encountered: