Skip to content

Commit

Permalink
Only canUseAsterisk if there's a table
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Sep 28, 2023
1 parent 7b1be27 commit ecaa367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphile-utils/src/fieldHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function makeFieldHelpers<TSource>(
resolveData,
{
withPaginationAsFields: isConnection,
useAsterisk: table.canUseAsterisk,
useAsterisk: table ? table.canUseAsterisk : false,
},
(sqlBuilder: QueryBuilder) => {
if (
Expand Down

0 comments on commit ecaa367

Please sign in to comment.