-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add a HOF for wrapping getServerSideProps handlers #90
Add a HOF for wrapping getServerSideProps handlers #90
Conversation
haydn
commented
Dec 18, 2022
- Add withAxiomNextServerSidePropsHandler
- Export all withAxiom functions
- Change type signature for withAxiomNextApiHandler
- Change type signature for withAxiom
- Add withAxiomNextServerSidePropsHandler - Export all withAxiom functions - Change type signature for withAxiomNextApiHandler - Change type signature for withAxiom
@haydn is attempting to deploy a commit to the AxiomFM Team on Vercel. A member of the Team first needs to authorize it. |
I still need to do a bit of testing and update the README before that marking this ready for review. Also, the changes to the type signatures might be considered a breaking change — would it better to keep that out of this PR? |
hey @haydn thanks for your contribution! I will take a look right now. |
all looks good, can you add an example for usage in the examples folder? Maybe we can add this to the README:
|
oh I remembered one more thing, we will need to export the new types in |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|