Skip to content

Commit 94be291

Browse files
committed
Get values from allowed positions
1 parent 9039f2f commit 94be291

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/PgConnectionArgFilterOperatorsPlugin.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import type {
33
PgCodec,
44
PgConditionCapableParent,
55
} from "@dataplan/pg";
6-
import { sqlValueWithCodec } from "@dataplan/pg";
76
import type {
87
GrafastInputFieldConfigMap,
98
InputObjectFieldApplyResolver,
@@ -26,7 +25,7 @@ export const PgConnectionArgFilterOperatorsPlugin: GraphileConfig.Plugin = {
2625
const {
2726
extend,
2827
graphql: { GraphQLNonNull, GraphQLList, isListType, isNonNullType },
29-
dataplanPg: { isEnumCodec, listOfCodec, TYPES },
28+
dataplanPg: { isEnumCodec, listOfCodec, TYPES, sqlValueWithCodec },
3029
sql,
3130
escapeLikeWildcards,
3231
options: {
@@ -1225,7 +1224,7 @@ export function makeApplyFromOperatorSpec(
12251224
): InputObjectFieldApplyResolver<PgCondition> {
12261225
const {
12271226
sql,
1228-
dataplanPg: { TYPES },
1227+
dataplanPg: { TYPES, sqlValueWithCodec },
12291228
EXPORTABLE,
12301229
} = build;
12311230
const {

0 commit comments

Comments
 (0)