finos/morphir-elm/21.0.0

NOTE: the latest version is 22.0.2

Formerly Morgan-Stanley/morphir-elm. Search finds this package by either name.

Morphir.Scala.Backend

This module encapsulates the Scala backend. It takes the Morphir IR as the input and returns an in-memory representation of files generated. The consumer is responsible for getting the input IR and saving the output to the file-system.

mapDistribution : Options -> TestSuite -> Distribution -> Result Error FileMap

Entry point for the Scala backend. It takes the Morphir IR as the input and returns an in-memory representation of files generated.

Options

type alias Options =
{ limitToModules : Maybe (Set ModuleName)
, includeCodecs : Bool
, testOptions : Options
}

Placeholder for code generator options.

type Error
= TestError Errors
| CodecError Error

Possible errors during code generation.