Put *.edgeql files under project directory, and run:
python -m edgedb.codegen
Generated code would require #359 to run properly in FastAPI.
This PR generates JSON Schema from Parse response as an intermediate result, using codec instructs copied from the EdgeDB server, so that we could easily migrate to a future codegen frontend. The JSON Schema looks like this (example from #359):
Put
*.edgeql
files under project directory, and run:Generated code would require #359 to run properly in FastAPI.
This PR generates JSON Schema from
Parse
response as an intermediate result, using codec instructs copied from the EdgeDB server, so that we could easily migrate to a future codegen frontend. The JSON Schema looks like this (example from #359):