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 :form and :multipart formats #452

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

Conversation

cllns
Copy link
Member

@cllns cllns commented Jul 25, 2024

These are commonly used for web apps so we should have first-class support for them.

Related: #439

Also, I made Hanami::Action::Mime::TYPES into @api public (from private). The values are already used in apps so it's effectively already public API, so we might as well show them in the API docs. We already link to the constant in the guides, so in the future that could be a link to API docs (once those are working properly).

@cllns cllns requested a review from a team July 25, 2024 18:07
People will use these values in their app, so it's already
effectively in the public API, might as well include it in
the API docs.
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