Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
slainless opened this issue May 28, 2024 · 0 comments
Open
3 tasks done
Labels
🤔 Question Further information is requested

Comments

@slainless
Copy link

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.
@slainless slainless added the 🤔 Question Further information is requested label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤔 Question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant