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

fix: define request.context as read only #133

Merged
merged 2 commits into from
Feb 10, 2025
Merged

fix: define request.context as read only #133

merged 2 commits into from
Feb 10, 2025

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Feb 10, 2025

Resolves #115

Marks request.context (in upgrade hook) both by type using readonly and in runtime using Object.defineProperty as read only

Copy link

Deploying crossws with  Cloudflare Pages  Cloudflare Pages

Latest commit: e76c7b7
Status: ✅  Deploy successful!
Preview URL: https://3f4a1c91.crossws.pages.dev
Branch Preview URL: https://fix-req-context.crossws.pages.dev

View logs

@pi0 pi0 merged commit f8372f8 into main Feb 10, 2025
2 of 3 checks passed
@pi0 pi0 deleted the fix/req-context branch February 10, 2025 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

overriding request.context
1 participant