Skip to content

DATACOUCH-16 - Allow View customization through @View annotations. #14

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
Closed

Conversation

dharrigan
Copy link
Contributor

An initial first attempt at allowing for basic View customization using the
@view annotation.

For now, it does not support "dynamic" finders, such as findByUsername, but
I'm sure it will come shortly aftewards.

Also added in hamcrest library to gradually transistion deprecated JUnit
methods to a better assertion library :-)

This is an updated PR that includes feedback from Oliver. It uses a ThreadLocal to store the View which is later retreived in the SimpleCouchbaseRepository. This is a similar approach as how LockModeRepositoryPostProcessor is used in Spring Data JPA.

I welcome feedback! :-)

-=david=-

An initial first attempt at allowing for basic View customization using the
@view annotation.

For now, it does not support "dynamic" finders, such as findByUsername, but
I'm sure it will come shortly aftewards.

Also added in hamcrest library to gradually transistion deprecated JUnit
methods to a better assertion library :-)

-=david=-
@daschl
Copy link
Contributor

daschl commented Oct 11, 2013

@olivergierke ping for a quick review - thanks! I like it.

@daschl
Copy link
Contributor

daschl commented Oct 16, 2013

Merged! thanks!

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.

2 participants