Skip to content

Commit 5cc7799

Browse files
committed
Add nested json property
1 parent d59df0d commit 5cc7799

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

integration-tests/lts/select.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,9 @@ describe("select", () => {
754754
test("link properties", async () => {
755755
const query = e.select(e.Movie, () => ({
756756
id: true,
757+
profile: (p) => ({
758+
d: true,
759+
}),
757760
characters: () => ({
758761
name: true,
759762
"@character_name": true,
@@ -773,6 +776,9 @@ describe("select", () => {
773776
"@character_name": string | null;
774777
"@meta": unknown;
775778
}[];
779+
profile: {
780+
d: unknown;
781+
} | null;
776782
}[]
777783
>
778784
>(true);

0 commit comments

Comments
 (0)