Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ Install with:
yarn add postgraphile postgraphile-plugin-connection-filter
```

for PostGraphile v5 (beta):

```
yarn add postgraphile@beta postgraphile-plugin-connection-filter@beta
```

CLI usage via `--append-plugins`:

```
Expand All @@ -33,6 +39,20 @@ const middleware = postgraphile(DATABASE_URL, SCHEMAS, {
});
```

Config example for PostGraphile v5 (beta), `graphile.config.mjs`:

```ts
import ConnectionFilterPlugin from 'postgraphile-plugin-connection-filter'

const preset = {
extends: [
ConnectionFilterPlugin.PostGraphileConnectionFilterPreset
]
}

export default preset
```

## Performance and Security

By default, this plugin:
Expand Down
Loading