Skip to content
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

Load folder data asynchronously. #906

Merged
merged 3 commits into from
Mar 14, 2018
Merged

Load folder data asynchronously. #906

merged 3 commits into from
Mar 14, 2018

Conversation

tpendragon
Copy link
Contributor

Closes #838.

Prevents loading all members as Valkyrie::Resources if it's not
necessary, for projects.
@escowles escowles merged commit 029d609 into master Mar 14, 2018
@escowles escowles removed the Review label Mar 14, 2018
@escowles escowles deleted the datatables_source branch March 14, 2018 13:27
@query_service = query_service
end

def count_members(resource:, model: nil)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tpendragon can you add a comment here to clarify what happens if you do / don't provide a model? It would count all members if you don't, or just members of a certain model if you do?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, yes I see it in the spec. I still think it would be good to have a comment. I can PR it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants