Skip to content

Commit 301889e

Browse files
committed
Not needed
1 parent 8071a5d commit 301889e

File tree

3 files changed

+1
-25
lines changed

3 files changed

+1
-25
lines changed

packages/base/card-api.gts

-3
Original file line numberDiff line numberDiff line change
@@ -1687,9 +1687,6 @@ export class BaseDef {
16871687
if (primitive in this) {
16881688
return value;
16891689
}
1690-
if (value == null) {
1691-
return value;
1692-
}
16931690
throw new Error(`Cannot format query value for composite card/field`);
16941691
}
16951692

packages/experiments-realm/crm-app.gts

+1-1
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ class CrmAppTemplate extends Component<typeof CrmApp> {
461461
taskFilter = [{ eq: { 'priority.label': 'High' } }];
462462
break;
463463
case 'Unassigned':
464-
taskFilter = [{ eq: { assignee: null } }];
464+
taskFilter = [{ eq: { 'assignee.id': null } }];
465465
break;
466466
default:
467467
break;

packages/runtime-common/realm.ts

-21
Original file line numberDiff line numberDiff line change
@@ -1620,27 +1620,6 @@ export class Realm {
16201620

16211621
let cardsQuery = parseQuery(new URL(request.url).search.slice(1));
16221622

1623-
// cardsQuery = {
1624-
// filter: {
1625-
// on: {
1626-
// module: 'http://localhost:4201/experiments/crm/task',
1627-
// name: 'CRMTask',
1628-
// },
1629-
// every: [
1630-
// {
1631-
// eq: {
1632-
// 'crmApp.id':
1633-
// 'http://localhost:4201/experiments/CrmApp/4e73712d-2a31-4ffe-9c22-d3de277257a6',
1634-
// },
1635-
// },
1636-
// {
1637-
// eq: {
1638-
// assignee: null,
1639-
// },
1640-
// },
1641-
// ],
1642-
// },
1643-
// } as any;
16441623
assertQuery(cardsQuery);
16451624

16461625
let doc = await this.#realmIndexQueryEngine.search(cardsQuery, {

0 commit comments

Comments
 (0)