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
flatten out functions, async everything, send errors to template #2
Conversation
Questions: @boutell what, if anything, should i be returning in |
What I'm thinking is that only the route itself should take The rest of the methods can then be simple async functions that Want to finish it up together? |
@boutell take another look? If still not right, let's get together IRL |
That's the stuff! Two small things:
|
fixed up the encodeUri consistency (i ran into the need for encoding when scraping a bunch of OpenMuseum urls with special characters in the names of artwork). To the second point, this was refactored to only make one request, even though it is formatted as an array. If that request errors it bubbles to the top catch and sends a (newly detailed) http error. Seems good? |
Oh right, I forgot it's only one request now, mainly because there's so
much array logic. Should the array logic just go away?
…On Mon, Jan 28, 2019 at 10:04 AM Stuart Romanek ***@***.***> wrote:
fixed up the encodeUri consistency (i ran into the need for encoding when
scraping a bunch of OpenMuseum urls with special characters in the names of
artwork).
To the second point, this was refactored to only make one request, even
though it is formatted as an array. If that request errors it bubbles to
the top catch and sends a (newly detailed) http error. Seems good?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAB9fUAZ5ynlDPRW9VFZ2MOwoqr5NV0Vks5vHxFzgaJpZM4aNG0F>
.
--
*Thomas Boutell, Chief Software Architect*
P'unk Avenue | (215) 755-1330 | punkave.com
|
singular'ified |
No description provided.