Skip to content

Conversation

@yifhao
Copy link

@yifhao yifhao commented May 28, 2017

JIRA https://jira.spring.io/browse/DATAREST-234

add exposedIdsForAll option and hidden ids for class option.
if a class is in hiddenIdsFor list, we will not expose its id.
if a class is not in hiddenIdsFor list, we will expose its id if exposedIdsForAll is true or it's in exposeIdsFor list.
see org.springframework.data.rest.core.config.RepositoryRestConfiguration#isIdExposedFor

@pivotal-issuemaster
Copy link

@Frank-hust 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

@Frank-hust Thank you for signing the Contributor License Agreement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

3 participants