You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -174,18 +174,58 @@ For additional examples, see the [tests](https://github.com/mattbretl/postgraphi
174
174
175
175
When using PostGraphile as a library, the following plugin options can be passed via `graphileBuildOptions` (called `graphqlBuildOptions` in PostGraphile 4.0.0-alpha2.20 and earlier):
176
176
177
-
### connectionFilterUsesShortNames
178
-
Use short names (e.g. eq, ne, lt, lte) for operators
177
+
### connectionFilterOperatorNames
178
+
179
+
Use alternative names (e.g. `eq`, `ne`) for operators
179
180
```js
180
181
postgraphile(pgConfig, schema, {
181
182
...
182
183
graphileBuildOptions: {
183
-
connectionFilterUsesShortNames:true,
184
+
connectionFilterOperatorNames: {
185
+
equalTo:"eq",
186
+
notEqualTo:"ne",
187
+
},
188
+
},
189
+
})
190
+
```
191
+
192
+
Note: The `connectionFilterUsesShortNames` option was removed in v1.0.0-alpha.6. To restore the old functionality, you can use this:
0 commit comments