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

Issue/datacmns 766 #144

Closed
wants to merge 2 commits into from

Conversation

gregturn
Copy link
Contributor

DO NOT MERGE - REVIEW REQUEST

@olivergierke @thomasdarimont I have run into a situation where someone wants to wrap a custom repository with Spring Data REST. The "real" backend is a SOAP interface, but I coded an experiment where I just use a Map<ID, T>. I found that by coding a custom Implementation (as shown here for demo purposes), Spring Data REST works with it perfectly. Unfortunately, custom finders (like this) are not listed underneath Spring Data REST's /search path as a custom finder because of this explicit check for isCustomMethod().

This PR shows me removing that one restriction. Upon building and deployment to my own local maven repository, my demo app that I linked to up above listed my custom finder and invoked it properly, so it looks like a good fix. What I cannot discern is other impacts. Basically, why was this restriction coded in the first place? Something else to test and verify? And seeing that this change didn't break any test cases, I am wondering what test case to write to verify it.

Thanks.

@odrotbohm
Copy link
Member

Not merged as per reasoning in DATACMNS-766.

@odrotbohm odrotbohm closed this Nov 23, 2015
@odrotbohm odrotbohm self-assigned this Nov 23, 2015
Aloren pushed a commit to Aloren/spring-data-commons that referenced this pull request Jun 20, 2019
…int-id

Make sure we copy variables to new InfoEndpoint
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