Notes
- Example code is at edgedb-examples/fastapi-crud at main · edgedb/edgedb-examples · GitHub
- Will also need updating
Changes
- Fix
CreateUserResulttoGetUserByNameResultin FastAPI guide TodoCreateUserResulthas not been created yet because we didn’t write that query yet.
- Note that MacOS has airplay server running on 5000 in FastAPI guide Todo
- Change
Iterablereturn types toListTodo- This was broken in FastAPI 0.89.0
- Write tests that test against the current versions of each of the dependencies Todo
- Use Github CI
- Should be scheduled (once per night?)
- Initialize VM for the example
- Pull latest
- Run unit test (simple “Hello world” to confirm)
- Stop generating code to single file Todo
- Use relative import paths Todo
- from .db_schema import generated_async_edgeql as db_queries
- Remove raw query from FastAPI guide
- Can mention that you can use raw videos
- Add make target to generate instead of committing generated
- Explain an existing application
- Open GitHub issue: Should code generator generate at top level or in db-schema
- JS generator puts generated code in dbschema
- Issue: https://github.com/edgedb/edgedb-python/issues/410