Uh oh!
There was an error while loading. Please reload this page.
adding upsert method for folders - #3
Conversation
lyaunzbe
commented
Mar 9, 2015
Looks good, will merge soon. I also think I will just rename this method to 'create' and replace the current 'create' method. Thanks for your contribution. |
srt32
commented
May 21, 2015
Ping @lyaunzbe, curious what your thoughts / plans are for this idea of |
srt32
commented
Aug 28, 2015
@ekump do you know the status of this PR? I'm looking to implement something similar on a project and I'd enjoy not doing it myself ;) |
lyaunzbe
commented
Aug 28, 2015
srt32
commented
Aug 29, 2015
@lyaunzbe I can test early this week. Would you be open to my taking a stab at a basic test suite as well? |
lyaunzbe
commented
Sep 6, 2015
Of course @srt32 ! Your contributions would be much appreciated. |
srt32
commented
Sep 10, 2015
Sorry about the delay here. I got swamped at work. I plan to tackle this manual test over the next week. |
* Adds a test for `files.upload` (without custom name). * Adds `nock` as a `devDependency` for testing. I'd enjoy any feedback the approach I took and would also be happy to add coverage to some of the other functions if we're happy with the general direction here. Conversation started in Skycatch#3 (comment)
* Adds a test for `files.upload` (without custom name). * Adds `nock` as a `devDependency` for testing. I'd enjoy any feedback on the approach I took and would also be happy to add coverage to some of the other functions if we're happy with the general direction here. Conversation started in Skycatch#3 (comment)
srt32
commented
Sep 28, 2015
I added the start to a test suite in #12. If things look good there, I can add a similar kind of test for this new functionality (which I'm excited to use ;)). |
* Adds a test for `files.upload` (without custom name). * Adds `nock` as a `devDependency` for testing. I'd enjoy any feedback on the approach I took and would also be happy to add coverage to some of the other functions if we're happy with the general direction here. Conversation started in Skycatch#3 (comment)
* Adds a test for `files.upload` (without custom name). * Adds `nock` as a `devDependency` for testing. I'd enjoy any feedback on the approach I took and would also be happy to add coverage to some of the other functions if we're happy with the general direction here. Conversation started in Skycatch#3 (comment)
srt32
commented
Sep 28, 2015
I manually tested this functionality today and it works but the responses are not uniform. See below for more details. Steps:
The functionality worked but the response from the function will be different depending on which scenario we're in (as the response from Box is different). It seems like, ideally, we'd have the same response from this function regardless of what happens internally. Perhaps we wrap up the response in some way so that it's uniform? |
srt32
commented
Oct 6, 2015
srt32
commented
Nov 14, 2015
ekump
commented
Nov 23, 2015
@srt32 No objections here. |
lyaunzbe
commented
Nov 23, 2015
No objections, just submit the standardized request to this branch/pr. |
add a method that will attempt to create a folder. If there is already a folder in that location with that name return that folder. Otherwise, create a new one.