ruby-grape / ruby-grape/grape

[DOCS] Incorrect documentation for binary formatter

Open
#1,275 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug?
Dominant language
Ruby
Stars
10k
Forks
1.2k
Avg merge
14h 38m
Merged PRs (30d)
92

Description

The documentation states that to pass objects through "as is" to specify the :binary formatter.

It appears there is no :binary formatter, rather that a nil formatter should be specified to instruct Grape to pass objects through "as is". Should the documentation be updated?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the documentation section that describes passing objects through "as is" with the :binary formatter, then compare it with the issue's reported behavior. Update the documentation to refer to a nil formatter, and consider the work done when it no longer claims that :binary provides this behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.