Skip to content

Feedbacks #1

@gharneeyart

Description

@gharneeyart
  1. Redundant Create Endpoint: A separate “create post by admin” endpoint is unnecessary since both users and admins should be able to create posts through the same endpoint, with role-based rules applied where necessary.
  2. Update Requires All Fields: Your update functionality currently requires all fields to be filled in, which is restrictive. For better usability, consider using partial updates (PATCH) so users can update only the fields they need.
  3. Duplicate Update Endpoints: You have both editPost (PATCH) and updatePost (PUT) endpoints, but they serve the same purpose. It’s better to keep just one consistent approach (usually PATCH for partial updates or PUT for full replacement).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions