Building a simple blog application with EdgeDB and Next.js — Tutorials | EdgeDB Docs

2022-11-04

Generating the query builder

  • This section gives out-of-date instructions for building
  • Hint when trying to run the out-of-date method npx edgeql-js says to first install the generator adding it to dev dependencies and then run with npx
  • Query builder docs seem to suggest just running it via npx @edgedb/generate edgeql-js
  • Which should we recommend? Does it matter?
  • I used the install/run method in the video. Should it be changed to just run via npx?

Rendering blog posts

  • Says to use filter: to filter, but then TypeScript expects an array back
  • Had to change to filter_single: instead to make TypeScript happy

Fix

PR submitted 2022-11-04 Nextjs tutorial updates by raddevon · Pull Request #4632 · edgedb/edgedb · GitHub