Skip to content

Decode route params#125

Merged
mgomes merged 2 commits into
masterfrom
fix/decode-route-params
Jun 27, 2026
Merged

Decode route params#125
mgomes merged 2 commits into
masterfrom
fix/decode-route-params

Conversation

@mgomes

@mgomes mgomes commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Why

Ohm callers should receive route parameter values in the same decoded form they expect from Go's request path APIs. Returning escaped values forces every application boundary to remember path unescaping itself, which is especially easy to get wrong when handlers also need the original raw path for proxy suffixes.

Closes #123.

mgomes commented Jun 27, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 45405906d2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread route.go

mgomes commented Jun 27, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 0cd30237f8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@mgomes mgomes merged commit e420453 into master Jun 27, 2026
2 checks passed
@mgomes mgomes deleted the fix/decode-route-params branch June 27, 2026 01:27
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.

Decode route params returned by RouteParam

1 participant