In preparation for adding support for nested slices of structs #40 I thought I'd refactor the form mapping code that was mostly a single function. Now it's clearly split into smaller functions that take care of the various different cases we care about.
This isn't adding anything just rearranging code for clarity. Enjoy!
In preparation for adding support for nested slices of structs #40 I thought I'd refactor the form mapping code that was mostly a single function. Now it's clearly split into smaller functions that take care of the various different cases we care about.
This isn't adding anything just rearranging code for clarity. Enjoy!