Skip to content
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
@BananaAcid

Description

@BananaAcid

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions