Skip to content

Document request-specific Roar rendering options - #44

Merged
dblock merged 1 commit into
ruby-grape:masterfrom
dblock:docs/render-options-7
Oct 27, 2026
Merged

dblock merged 1 commit into
ruby-grape:masterfrom
dblock:docs/render-options-7

Conversation

@dblock

@dblock dblock commented Oct 27, 2026

Copy link
Copy Markdown
Member

Fixes #7.

Document the existing, explicit to_hash(wrap: ..., user_options: ...) API for request-specific rendering options without changing the contract of Grape present. Native Hash responses avoid double JSON encoding and preserve request-aware links. Add real-request coverage for both modules and decorators, wrapping, callback data, and isolation between requests.

AI-authored on behalf of @dblock.

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Danger Report

No issues found.

View run

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dblock
dblock force-pushed the docs/render-options-7 branch from 5f96dcb to 4fae719 Compare October 27, 2026 10:17
@dblock
dblock merged commit c67ac75 into ruby-grape:master Oct 27, 2026
25 checks passed
@dblock dblock mentioned this pull request Oct 27, 2026
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.

Dynamic options to to_json

1 participant