blitz icon indicating copy to clipboard operation
blitz copied to clipboard

Add hooks before auth / session create

Open Zeko369 opened this issue 3 years ago • 1 comments

Closes: #3462

Feature Checklist

  • [x] add onAuthMiddleware hook for queries/mutations
  • [ ] add onAuthorize hook for client side

What's missing here is that onAuthorize on client side is called on every render and it would be better to just call it when session changes

Zeko369 avatar Jul 22 '22 21:07 Zeko369

⚠️ No Changeset found

Latest commit: 11fdad3acfa42537239a9562f38787514bead883

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Jul 22 '22 21:07 changeset-bot[bot]

@Zeko369 were you able to get to the docs for this? Great work by the way, as usual.

itsdillon avatar Oct 12 '22 20:10 itsdillon