Skip to content

fix: adjust the structure of handler and handler state#128

Merged
lafirest merged 1 commit intoemqx:masterfrom
lafirest:fix/unallowed
Oct 10, 2024
Merged

fix: adjust the structure of handler and handler state#128
lafirest merged 1 commit intoemqx:masterfrom
lafirest:fix/unallowed

Conversation

@lafirest
Copy link
Member

Each path has a unique corresponding route and minirest_handler, all methods in this handler share this path, here lift this data from the method handler to handle the not allowed clause.

Each `path` has a unique corresponding route and `minirest_handler`, all methods in this handler share this `path`,  here lift this data from the method handler to handle the `not allowed` clause.
@lafirest lafirest marked this pull request as ready for review October 10, 2024 05:20
@lafirest lafirest merged commit 30b4e41 into emqx:master Oct 10, 2024
@lafirest lafirest deleted the fix/unallowed branch October 10, 2024 05:23
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