Skip to content

Cutback the data we return in routes #45

Description

@christianhelp

In general, we should consider all data we return to the user NTK and therefore, should look at all of the routes we return to the user to prevent return to the user. For a light example, when we query for a user's teams they belong to, we also return the createdAt and updatedAt. While these are likely not huge deals and are probably fine, we want to start a pattern of good practices in the code base and it should start with what we already have.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ServerAnything related to the Hono backend server

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions