Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(hooks): add postgraphile:liveSubscribe:executionResult hook #1483

Merged
merged 1 commit into from
May 26, 2021

Conversation

benjie
Copy link
Member

@benjie benjie commented May 26, 2021

Description

Based on main...Venryx:main and enabled by #1482 this adds a new pluginHook that can be used to augment results from the liveSubscribe method, for example to implement JSON patch transform.

Performance impact

Very slight overhead added to every liveSubscribe execution.

Security impact

None known.

Checklist

  • My code matches the project's code style and yarn lint:fix passes.
  • I've added tests for the new feature, and yarn test passes.
  • I have detailed the new feature in the relevant documentation.
  • I have added this feature to 'Pending' in the RELEASE_NOTES.md file (if one exists).
  • If this is a breaking change I've explained why.

@benjie benjie changed the title feat(hooks): add new postgraphile:liveSubscribe:executionResult hook feat(hooks): add postgraphile:liveSubscribe:executionResult hook May 26, 2021
@benjie benjie merged commit 73fe801 into main May 26, 2021
@benjie benjie deleted the postgraphile-ws-executionResult branch May 26, 2021 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant