eed3si9n/scalaxb — Issue #112: Flatten nested Options in generated code
Author: OlegYch
Created: 2011-11-08 17:12:04+00:00
State: open

Referring discussion at http://groups.google.com/group/scalaxb/browse_thread/thread/1aa78cd28929f9d7
Please add an option to flatten Options in generated code.
Since most of the time web service client/server do not care about difference between nil element and absence of element it should be possible to ignore this in generated code as well.
E.g. can be treated as and should produce a property of type Option[String] and not Option[Option[String]].