You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the latest version of bun(v1.1.10), the bunx @edgedb/generate queries and the bunx @edgedb/generate interfaces scripts do not fully execute. Execution of the scripts starts properly but suddenly terminates after attempting to connect to the database. No errors are emitted, execution just stops. No files are generated as a result.
The above issue is resolved if I roll back to the previous version of bun(v1.1.9).
NOTE: The bunx @edgedb/generate edgeql-js script seems to execute properly. The TypeScript/JS code inside of my app is able to properly connect and communicate with the database.
Error or desired behavior
Executing the queries generation script:
# [Bun v1.1.10]# Improper Execution:> bunx @edgedb/generate queries
Generating functions from .edgeql files...
Detected tsconfig.json, generating TypeScript files.
To override this, use the --target flag.
Run `npx @edgedb/generate --help`for full options.
Detected project root via edgedb.toml:
/home/mcisne4/dev/bun/experiment-26
Detected schema directory: dbschema
Connecting to database...
# [Bun v1.1.9]# Proper Execution:> bunx @edgedb/generate queries
Generating functions from .edgeql files...
Detected tsconfig.json, generating TypeScript files.
To override this, use the --target flag.
Run `npx @edgedb/generate --help`for full options.
Detected project root via edgedb.toml:
/home/mcisne4/dev/bun/experiment-26
Detected schema directory: dbschema
Connecting to database...
Analyzing .edgeql files...
Generating files for following queries:
./queries/insertXYZ.query.ts
When using the latest version of
bun
(v1.1.10), thebunx @edgedb/generate queries
and thebunx @edgedb/generate interfaces
scripts do not fully execute. Execution of the scripts starts properly but suddenly terminates after attempting to connect to the database. No errors are emitted, execution just stops. No files are generated as a result.The above issue is resolved if I roll back to the previous version of
bun
(v1.1.9).NOTE: The
bunx @edgedb/generate edgeql-js
script seems to execute properly. The TypeScript/JS code inside of my app is able to properly connect and communicate with the database.Error or desired behavior
Executing the
queries
generation script:Executing the
interfaces
script:Versions:
Ubuntu 23.10
5.4+867a505
5.1.0+7c5764f
edgedb-js
version :1.5.7
@edgedb/generate
version:0.5.3
5.4.5
1.1.10
The text was updated successfully, but these errors were encountered: