edgedb-js icon indicating copy to clipboard operation
edgedb-js copied to clipboard

The official TypeScript/JS client library and query builder for EdgeDB

Results 259 edgedb-js issues
Sort by recently updated
recently updated
newest added

A query like this: ```ts const q = e.select(e.User, () => ({ name: true, birthdaet: true, })); ``` Will type-check (and run) successfully since it treats the typo `birthdaet` as...

enhancement
needs design
breaking change

The TS query builder is amazingly composable as long as you don't use the `e.params` function because you can't add that query to another, you can only execute the query...

enhancement

- Gel Version: 6.2+e1a80a5 - Gel CLI Version: 7.1.1+45ade47 - OS Version: Ubuntu 22 - NPM: [email protected], @gel/[email protected] Steps to Reproduce: 1. a Typescript project 2. run: npx @gel/generate edgeql-js...

https://github.com/geldata/gel-js/blob/master/packages/gel/src/baseConn.ts#L597-L617 Cause the "Session/Options/State" identity to change with every query, causing it to be re-serialized & re-encoded with every query (misses on `stateCache: WeakMap`). Maybe another cache layer could be...

performance

**Code** The code causing the error. ```typescript const PersonIdentifierParams = { identifier: e.str, tokenizedName: e.array(e.str), } const agentIdentifiers = e.for( e.op( 'distinct', e.op( e.op( e.op( e.array_unpack(params.feeTransactions).agentIdentifier, 'union', e.array_unpack(params.paymentTransactions).agentIdentifier, ), 'union',...

**Describe the bug** The `@gel/generate edgeql-js` tool generates incomplete models for gel schemas using nested modules where a child module has no valid parent, for clarity: - myModule - myModule::config...

The current implementation of `npx @gel/generate interfaces` based on the following schema: ```gel module default { type Actor { name: str; } type Producer { name: str; } type Movie...

Hi, I just wanted to experiment with gel, based on the online tutorial and docs. But i am confused. It's hard enough to switch over to a new name; but...

### Code The code causing the error. ```typescript const query = e.insert(e.User, { name: "user", identity: e.ext.auth.ClientTokenIdentity, }) ``` ### Schema Your application schema. ```esdl using extension auth; module default...