Skip to content

Allow user-supplied implementation of readFormParamRec#1259

Open
schuetzm wants to merge 1 commit intovibe-d:masterfrom
schuetzm:readFormParamRec
Open

Allow user-supplied implementation of readFormParamRec#1259
schuetzm wants to merge 1 commit intovibe-d:masterfrom
schuetzm:readFormParamRec

Conversation

@schuetzm
Copy link
Copy Markdown
Contributor

vibe.d's built-in implementation of readFormParamRec uses a strange convention (underscores as separators for array and AA indices), which is incompatible with the [] convention used by almost everyone else, including Rails, PHP, and jQuery.param().

This PR allows the user to specify their own implementation of readFormParamRec with registerWebInterface, enabling not only any desired parameter naming conventions, but also used-defined deserialization.

@WebFreak001
Copy link
Copy Markdown
Contributor

@s-ludwig no comment?

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