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

docs: Fix upload handler examples + add context #2704

Merged
merged 3 commits into from
Apr 10, 2022
Merged

Conversation

chaance
Copy link
Collaborator

@chaance chaance commented Apr 8, 2022

A few of our examples incorrectly called server-only functions at the top-level scope of a route module which will result in an error when they use Node globals. This PR fixes those examples and adds clarity where needed on the "gotchas" page.

This addresses the issue raised in #2248.

A few of our examples incorrectly called server-only functions at the
top-level scope of a route module which will result in an error when
they use Node globals. The examples were fixed and clarity added where
needed. Addresses issue raised in #2248.
@chaance
Copy link
Collaborator Author

chaance commented Apr 8, 2022

Looks like we have some outdated snapshots on main. This PR is docs-only and safe to merge, I'll look into that separately.

@machour machour added the docs label Apr 8, 2022
docs/pages/gotchas.md Outdated Show resolved Hide resolved
Co-authored-by: Deren Keskin <deren.keskin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants