Skip to content

Refactors form mapping into smaller functions for clarity#41

Open
murrekatt wants to merge 12 commits into
martini-contrib:masterfrom
murrekatt:master
Open

Refactors form mapping into smaller functions for clarity#41
murrekatt wants to merge 12 commits into
martini-contrib:masterfrom
murrekatt:master

Conversation

@murrekatt

Copy link
Copy Markdown

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!

@murrekatt

Copy link
Copy Markdown
Author

This is related to issue #40

@mholt

mholt commented Mar 8, 2015

Copy link
Copy Markdown
Contributor

Awesome, I can't wait to take a look! I'm super-busy right now, but be assured I will get around to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants