Skip to content

DATACMNS-1005 - Support for Javaslang types in paginating query methods #200

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

Closed
wants to merge 1 commit into from

Conversation

Opalo
Copy link
Contributor

@Opalo Opalo commented Mar 8, 2017

@pivotal-issuemaster
Copy link

@Opalo Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@Opalo Thank you for signing the Contributor License Agreement!

odrotbohm pushed a commit that referenced this pull request Mar 9, 2017
…ion types.

To eagerly catch invalid declarations, query methods using pagination had a check applied that the method either returns a Page or List. We've introduced support for alternative collection libraries (Javaslang in particular) and thus the check needs to take these newly supported types into account.

This is now fixed by externalizing the valid types into QueryExecutionConverters and using the ones returned by that to check against.

Original pull request: #200.
odrotbohm added a commit that referenced this pull request Mar 9, 2017
Simplified type check by using Set as method signature to avoid unnecessary manual array wrapping. Simplification in the test assertions. A bit of Javadoc, corrected imports and author tags.

Original pull request: #200.
odrotbohm pushed a commit that referenced this pull request Mar 9, 2017
…ion types.

To eagerly catch invalid declarations, query methods using pagination had a check applied that the method either returns a Page or List. We've introduced support for alternative collection libraries (Javaslang in particular) and thus the check needs to take these newly supported types into account.

This is now fixed by externalizing the valid types into QueryExecutionConverters and using the ones returned by that to check against.

Original pull request: #200.
odrotbohm added a commit that referenced this pull request Mar 9, 2017
Simplified type check by using Set as method signature to avoid unnecessary manual array wrapping. Simplification in the test assertions. A bit of Javadoc, corrected imports and author tags.

Original pull request: #200.
@odrotbohm odrotbohm self-assigned this Mar 9, 2017
@odrotbohm
Copy link
Member

Merged and polished.

@odrotbohm odrotbohm closed this Mar 9, 2017
@odrotbohm odrotbohm changed the title DATACMNS-1005 Pageable javaslang.collection.Seq DATACMNS-1005 - Support for Javaslang types in paginating query methods Mar 9, 2017
odrotbohm pushed a commit that referenced this pull request Mar 9, 2017
…ion types.

To eagerly catch invalid declarations, query methods using pagination had a check applied that the method either returns a Page or List. We've introduced support for alternative collection libraries (Javaslang in particular) and thus the check needs to take these newly supported types into account.

This is now fixed by externalizing the valid types into QueryExecutionConverters and using the ones returned by that to check against.

Original pull request: #200.
odrotbohm added a commit that referenced this pull request Mar 9, 2017
Simplified type check by using Set as method signature to avoid unnecessary manual array wrapping. Simplification in the test assertions. A bit of Javadoc, corrected imports and author tags.

Original pull request: #200.
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.

3 participants