Add $shallow arg to ShareByCircleProvider::getSharesInFolder#1117
Merged
Add $shallow arg to ShareByCircleProvider::getSharesInFolder#1117
$shallow arg to ShareByCircleProvider::getSharesInFolder#1117Conversation
$shallow arg to ShareByCircleProvider::getSharesInFolder
$shallow arg to ShareByCircleProvider::getSharesInFolder$shallow arg to RoomShareProvider::getSharesInFolder
$shallow arg to RoomShareProvider::getSharesInFolder$shallow arg to ShareByCircleProvider::getSharesInFolder
Member
|
Yes, it seems you can pass circles/lib/ShareByCircleProvider.php Line 411 in 94b67c2 Not sure if $node can still really be null at this point of the process |
Member
|
also, for the sql requestion (around circles/lib/Db/ShareWrapperRequest.php Line 382 in 94b67c2
|
402d6c3 to
217fd60
Compare
ArtificialOwl
approved these changes
Jul 27, 2022
Member
ArtificialOwl
left a comment
There was a problem hiding this comment.
no tested, looks good !
A new `$shallow` argument was introduced to `IShareProvider::getSharesInFolder` in NC25 by nextcloud/server#31728. This PR adds this new argument and the necessary changes to make it work based on this example https://github.com/nextcloud/server/pull/31728/files#diff-dee1351696d7eae959761edf66c8e5a9052e28be73319733d857a9ab2d9fc967= Signed-off-by: Louis Chemineau <[email protected]>
217fd60 to
1538c2d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A new
$shallowargument was introduced toIShareProvider::getSharesInFolderin NC25 by nextcloud/server#31728.This PR adds this new argument and the necessary changes to make it work based on this example https://github.com/nextcloud/server/pull/31728/files#diff-dee1351696d7eae959761edf66c8e5a9052e28be73319733d857a9ab2d9fc967=
Looks like in the context of
ShareWrapperRequest, the$shallowargument can't be used as we only have thenodeIdso we cannot use the same method as in other places:Should we change the methods to forward
$nodeinstead of$nodeId?