Skip to content

🤗 [Question]: websocket.Conn.Locals vs fiber.Ctx.Locals signature difference #1113

@slainless

Description

@slainless

Question Description

Is there a reason why the difference of signature between the two? While this is not a really major issue, it prevents consumer from making any straightforward common logic that can be used for both type of context.

Code Snippet (optional)

No response

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have checked for existing issues that describe my questions prior to opening this one.
  • I understand that improperly formatted questions may be closed without explanation.

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