We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Describe the bug
@RestResource(exported = false) does not work for custom existsByXyz methods
@RestResource(exported = false)
existsByXyz
To Reproduce Steps to reproduce the behavior:
package app.pricequery; import org.springframework.data.repository.CrudRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; import org.springframework.data.rest.core.annotation.RestResource; @RepositoryRestResource public interface DisabledPriceQueryRepository extends CrudRepository<DisabledPriceQuery, Long> { // case 1 error: org.springframework.data.mapping.MappingException: Couldn't find PersistentEntity for type boolean! @RestResource(exported = false) boolean existsByUserNicknameAndMatchKeyword(String userNickname, String matchKeyword); // case 2 works @RestResource(exported = false) DisabledPriceQuery findByUserNickname(String userNickname); // case 3 works @RestResource(exported = false) @Override void deleteById(Long id); }
Expected behavior
existsByUserNicknameAndMatchKeyword
The text was updated successfully, but these errors were encountered:
5d4e485
@uqix,
Not reproducible using v1.6.8. See the updated test case. If you believe you are facing an issue, make sure you provide a Minimal, Reproducible Example - with HelloController that reproduces the problem.
v1.6.8
Sorry, something went wrong.
No branches or pull requests
Describe the bug
@RestResource(exported = false)
does not work for customexistsByXyz
methodsTo Reproduce
Steps to reproduce the behavior:
Expected behavior
existsByUserNicknameAndMatchKeyword
method should not be exposed.The text was updated successfully, but these errors were encountered: