docs: consolidate database videos into tutorials and harden quick examples#3249
Open
bartlomieju wants to merge 1 commit into
Open
docs: consolidate database videos into tutorials and harden quick examples#3249bartlomieju wants to merge 1 commit into
bartlomieju wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three small quality passes on the examples catalog that were parked
during the recent expansion, all from the consolidation section of the
content backlog.
The Mongoose and Prisma video pages duplicated their tutorials: same
topic, two catalog entries, and the relabeled titles ("Prisma" next to
"Prisma (video)") made the redundancy obvious. The videos now embed at
the top of their tutorials, the standalone video pages are deleted, and
the retired URLs redirect to the tutorials, the same approach as the
earlier compress_decompress fold. The catalog drops from 316 to 314
items. Redis keeps both of its pages since the quick start (connect and
send commands) and the tutorial (build a caching layer) cover different
ground; they now cross-link each other instead.
The Postgres quick example previously hardcoded credentials and let
connection failures escape as a raw stack trace. It now reads the
standard PG* environment variables with sensible localhost fallbacks and
handles query failure by reporting the error code; the failure path was
verified against a closed port (prints "Query failed: ECONNREFUSED") and
the pool is closed in a finally block either way.
The project initialization tutorial showed bare commands with no
expected output and had drifted from what deno init actually generates
(it described the old "add function" template; the current template is a
small HTTP server with two tests, and the dev task includes
--allow-net). The tutorial now shows the real captured output of deno
init, deno task dev, and deno test, so readers can verify each step as
they follow along.
Embedded video on the Mongoose tutorial: