We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A Scala type satisfying the properties:
yields an incorrect Elm file, because an import is missing.
import bridges.core.syntax._ import bridges.elm.Elm object Issue { case class OptionOnly( number: Option[Int] ) def main(args: Array[String]): Unit = { val (_, content) = Elm.buildFile( module = "TestModule", decls = List( decl[OptionOnly] ), customTypeReplacements = Map.empty ) println(content) } }
The distinction, whether or not the decoders contain required needs to be removed in ElmFileBuilder.scala.
required
ElmFileBuilder.scala
The text was updated successfully, but these errors were encountered:
davegurnell#195: Remove distinction for option only case classes
b3f55e3
davegurnell#195: Adjust expectations
0cdfa33
No branches or pull requests
A Scala type satisfying the properties:
yields an incorrect Elm file, because an import is missing.
Reconstruction
The distinction, whether or not the decoders contain
required
needs to be removed inElmFileBuilder.scala
.The text was updated successfully, but these errors were encountered: