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

Implement a findByIDs method #132

Closed
sdeleuze opened this issue Nov 8, 2012 · 1 comment · Fixed by #229
Closed

Implement a findByIDs method #132

sdeleuze opened this issue Nov 8, 2012 · 1 comment · Fixed by #229
Assignees
Milestone

Comments

@sdeleuze
Copy link
Member

sdeleuze commented Nov 8, 2012

In order to improve performances in higly distributed platform (avoir N call to findById)
To be implemented at service and controler level

@bmeurant bmeurant modified the milestones: 2.1.5, 2.2.0 Feb 13, 2014
@bmeurant bmeurant self-assigned this Feb 13, 2014
bmeurant added a commit to bmeurant/resthub-spring-stack that referenced this issue Feb 14, 2014
@bmeurant
Copy link
Member

PR #132 resolves this issue.

findByIds API:

/api/albums?ids[]=2&ids[]=3:

[
    {
        "id": 2,
        "title": "Somewhere Within the Shadows",
        "publicationDate": "2000-11-01",
        "number": 1,
        "coverName": "blacksad-1.jpg",
        "series": 1
    },
    {
        "id": 3,
        "title": "Arctic-Nation",
        "publicationDate": "2003-03-01",
        "number": 2,
        "coverName": "blacksad-2.jpg",
        "series": 1
    }
]

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 a pull request may close this issue.

2 participants