Skip to content

Commit

Permalink
align whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
olirice committed Dec 7, 2023
1 parent 9af2fe5 commit dc06b45
Showing 1 changed file with 66 additions and 1 deletion.
67 changes: 66 additions & 1 deletion test/expected/issue_454.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ begin;
create table foo(
id int primary key
);

insert into foo (id) values (1);
create or replace function bar(foo)
returns int[]
Expand All @@ -29,4 +28,70 @@ begin;
{"data": {"fooCollection": {"edges": [{"node": {"id": 1, "bar": [1, 2, 3]}}]}}}
(1 row)

select jsonb_pretty(
graphql.resolve($$
{
__type(name: "Foo") {
kind
fields {
name
type {
kind
name
ofType {
kind
name
}
}
}
}
}
$$)
);
jsonb_pretty
-----------------------------------------------
{ +
"data": { +
"__type": { +
"kind": "OBJECT", +
"fields": [ +
{ +
"name": "nodeId", +
"type": { +
"kind": "NON_NULL", +
"name": null, +
"ofType": { +
"kind": "SCALAR",+
"name": "ID" +
} +
} +
}, +
{ +
"name": "id", +
"type": { +
"kind": "NON_NULL", +
"name": null, +
"ofType": { +
"kind": "SCALAR",+
"name": "Int" +
} +
} +
}, +
{ +
"name": "bar", +
"type": { +
"kind": "LIST", +
"name": null, +
"ofType": { +
"kind": "SCALAR",+
"name": "Int" +
} +
} +
} +
] +
} +
} +
}
(1 row)

rollback;

0 comments on commit dc06b45

Please sign in to comment.