Skip to content

Commit 898711a

Browse files
committed
Add plugin in correct position
1 parent bbcc6fd commit 898711a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

__tests__/FilterAllPlugin.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ export const FilterAllPlugin: GraphileConfig.Plugin = {
77
schema: {
88
entityBehavior: {
99
pgCodecAttribute: {
10-
inferred(behavior, entity, build) {
11-
return [behavior, "filterBy"];
10+
inferred: {
11+
before: ["PgIndexBehaviorsPlugin"],
12+
callback(behavior, entity, build) {
13+
return [behavior, "filterBy"];
14+
},
1215
},
1316
},
1417
},

0 commit comments

Comments
 (0)