Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

routing doc - handling file uploads #258

Open
computeremotion opened this issue Feb 20, 2020 · 0 comments
Open

routing doc - handling file uploads #258

computeremotion opened this issue Feb 20, 2020 · 0 comments

Comments

@computeremotion
Copy link
Contributor

i just wanted to try doing a quick file upload... but found the topic, all in all, somewhat trickier than what i would have hoped it'd be... so.... i guess it would be really great if the doc on this could be a little bit more... well... elaborate....

in any case.... one thing that i found particularly confusing is the following:

(fn [{{{:keys [file]} :multipart} :parameters}]

i personally find this sort of destructuring-syntax super hard to parse.... also.... in my case the path turned out to be more like :params -> :file rather than :parameters -> :multipart -> :file

also... how does all of this fit in with what it says just a few lines above:

Reitit supports three kinds of parameters. These can be route, query, and body parameters.

but like i said.... for me as a total file-upload-noob :-).... all of this is still pretty confusing... :-)

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

No branches or pull requests

1 participant