Skip to content

fix(koa): don't camel-case route placeholders#120

Merged
mnahkies merged 1 commit intomainfrom
mn/118/fix-parameter-name-mapping
Jan 5, 2024
Merged

fix(koa): don't camel-case route placeholders#120
mnahkies merged 1 commit intomainfrom
mn/118/fix-parameter-name-mapping

Conversation

@mnahkies
Copy link
Owner

@mnahkies mnahkies commented Jan 5, 2024

as pointed out in #118 we don't manipulate the
router parameter names in the schemas / types,
and therefore we shouldn't manipulate them in
the route itself

closes #118

as pointed out in #118 we don't manipulate the
router parameter names in the schemas / types,
and therefore we shouldn't manipulate them in
the route itself

closes #118
@mnahkies mnahkies enabled auto-merge (squash) January 5, 2024 08:41
@mnahkies mnahkies merged commit 59e1438 into main Jan 5, 2024
@mnahkies mnahkies deleted the mn/118/fix-parameter-name-mapping branch January 5, 2024 08:43
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.

Koa parameter names don't match zod/openapi schema and causes validation errors

1 participant