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 220 edgedb-js issues
Sort by recently updated
recently updated
newest added

I'm running the following query using the query builder. ```JavaScript const query = e.select(e.Entity, ()=> ({ name: true, __type__: { id: true, name: true }})) ``` But I'm getting the...

see also https://github.com/edgedb/edgedb-cli/issues/708 and https://github.com/edgedb/shared-client-testcases/issues/13

```ts e.insert(e.User, { name: "Colin", posts: [{ title: "My blog post" }] }) ```

Hello, under version 0.19.15 (Edit: also tested with 0.19.16 and 0.20.0) For the following schema: ``` abstract type Entity { required property name -> str; } type Game extending Entity...

From issue: https://github.com/edgedb/edgedb/issues/3647 If function returning a shape object is used instead of plain shape object in `e.insert`: ``` e.insert(e.Person, () => ({ firstName: 'john', lastName: 'smith' })) ``` querybuilder...

Currently, `e.op` is either unary, binary, or ternary and there is no easy way to combine a variadic number of operands using the same operator. This is frequently needed to,...

enhancement

Version: 0.19.15 For the following schema: ``` type User { required property auth0_id -> str { constraint exclusive; } multi link workspaces -> Workspace { property member_role -> WorkspaceRole; property...

edgedb-js: 0.19.15 server: 1.2 cli: 1.1.0+96c3d69 typescript: 4.6.2 ## Current behavior When selecting for enum properties, the query returns the string representation of the enum value. Assuming this dbschema: ```esdl...

``` $ node script.js edgeql-js/syntax/toEdgeQL.ts:1188 throw new Error(`Invalid value for type ${type.__name__}`); ^ Error: Invalid value for type std::json at null.literalToEdgeQL ``` A better error `Invalid value for type std::json...