-
Notifications
You must be signed in to change notification settings - Fork 6
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
getMetadata for directory does not return directory metadata #6
Comments
Thank you for reporting this issue. This behaviour does indeed seem incorrect and not in line with expected behaviour. I am marking this as a bug. This behaviour exists because the response from the underlying library that this adapter uses is passed on ad verbatim. Looking at the Github API docs on this subject, it states:
Do you have timeframe for how soon you need/want this to be fixed? |
Not a huge hurry. I think I was hoping to use this in something that I would start demoing sometime in January. I'm also happy to jump in and help as needed. |
Just checking in to see if you had any more thoughts here or had some sort of timeframe. Thanks! |
Thanks for the bump! I had planned to do some work on this right after the holidays but unfortunately things didn't go as planned. I am currently in the process of looking for a new job for after my current contract ends. Any work I get to do on this project beforehand is a bonus but in all likelihood it'll have to wait until after I've landed a new contract. |
New contract is all but signed, so time for an update! Work on this issue is underway. I've fixed the original issue but I've found some other discrepancies that I would also like to fix. Most of these are done in the linked pull-request. The last thing that is needed before I can merge the changes and create a new release is refactor the unit-tests for the Api class. They have become too convoluted/complex (specifically in regards to mocks). Once that is done and all tests are green again, all is done. |
Awesome. This looks great. I noticed one other issue while I was testing. I'll go see if it's still present after the update and put in another issue if it's still around. Thanks! |
Fixed by 6374601. |
When calling getMetadata on a directory entity, it seems to return a multidimensional array of metadata for the entities of that directory, not the metadata for the directory itself. This seems to be inconsistent with the other native flysystem adapters that I have worked with.
The text was updated successfully, but these errors were encountered: