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

Add documentation section about custom handlers #293

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lorenabalan
Copy link

@lorenabalan lorenabalan commented Apr 18, 2023

Feels like a very underrated feature of mangum that deserves it's moment in the sun. ☀️ 🙃 Following up on #288 (comment)

There might be some implementation details I didn't get quite right, particularly in the scope property, so do let me know what's the best way / convention to advertise!

Also updated contribution guide while I'm here, as GitHub dropped support for git protocol.

Copy link

@toniton toniton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work. I found this helpful and I hope the maintainers do as well.

Leaving you some suggestions:

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend doing this in a separate md file, say custom_handler.md, and trim your custom handler to a minimal implementation that could serve a generic purpose.

Perhaps, you can create a gist for full implementations of specific handlers if you would like to share.

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.

2 participants