propensive / rapture

Rapture
183 stars 39 forks source link

Rapture Xml are not extractor for BigInt and BigDecimal #250

Open ivanmunozt opened 7 years ago

ivanmunozt commented 7 years ago

Hi, I'm working with Xml:

case class Foo(bar: String, baz: BigInt)
val xml = xml"""<foo><bar>BAR</bar><baz>88888888888888888888888888889</baz></foo>"""

if I try to get a Foo, fails because it can not find the extractor:

x.as[Foo]

I got a error as follow:

error: cannot extract type Foo from rapture.xml.Xml.