-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
loopback-next: hide model property in response #1201
Comments
Hi @vijeta-singh, I'm not entirely sure what you mean by hiding some property in api response? But if you wanted to filter a response to exclude some properties you can try the following.
OR
For either task, this Doc shows how to implement a Sequence Action and customize the sequence. http://loopback.io/doc/en/lb4/Sequence.html Let me know if this helps you accomplish what you were trying to accomplish / if I can help further. |
In discussion with @raymondfeng , there are 2 things we can consider:
|
This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the |
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the |
#3453 (comment) might relate to this issue. |
Please check Hidden property section. |
Hi,
I want to hide some property in api response and I want handle this at model level.
How I can do that?
Thanks
The text was updated successfully, but these errors were encountered: