This repository was archived by the owner on Dec 12, 2023. It is now read-only.
This repository was archived by the owner on Dec 12, 2023. It is now read-only.
Protected / Serverside only property? #67
Open
Description
Ask your question
Is there a way to have some of the data only available on the server side, without completely disabling the routes?
Additional information
Protected: disabling keys that can not be POSTed to route (like id is already, if i saw that correctly)
Server side only: keys that will not be send (filtered out before GET)
Main reasons:
- Carrying login status and fetched userdata should only stay on the server side,
- other data like user id and name should be retrievable by using the routes.