On Wednesday, 3 April 2013 at 19:07:39 UTC, Vadim Lopatin wrote:
I don't see what to simplify in markup like this:
...

You may implement approach similar to one used in vibe.d http.rest and http.form modules. Some specific examples are described by Jacob, but, in general, in results in 3 configuration stages: 0) No configuration at all, all data is inferred from variable names and types according to some sane convention. 1) Convention configuration - you chose one convention to use for aggregate type introspection at compile-time. Few different pre-defined conventions exist.
2) Fine configuration using UDAs.

Reply via email to