Closed jywarren closed 7 years ago
Hmm, I think i made a mistake, sorry hang on.
OK, fixed the especially dumb mistake -- but what's the best convention for passing a possibly undefined option? I set a default of {}
but is that really necessary? Do we care if an undefined
is passed over, or do we prefer to send over an empty object?
The argument should be optional so there shouldn't be a need to default to {}
It is optional in bureaucracy
https://github.com/bevacqua/bureaucracy/blob/master/bureaucracy.js#L29
Great -- OK, how does that look?
Hi, just checking if there's anything else I can do to prep this PR, of if you could pull it in and make a release? Thanks!
LGTM
This is a first-draft attempt to solve #38 -- not sure if it's architecturally the right approach, but I believe it will pass a
formData
object from theimages
method all the way to thebureaucracy
v1.0.6, and it will get appended to the form submission. How does this look?