interagent / interagent/committee
No support for request body which is not Hash
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 955
- Forks
- 145
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 6
Description
As commented on
https://github.com/interagent/committee/blob/master/lib/committee/request_unpacker.rb#L81-L87
No support for request body which is Array/Int/String (not Hash) and raise error Invalid JSON input. Require object with parameters as keys.
Want to support these not Hash request body
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with lib/committee/request_unpacker.rb lines 81-87 and trace how request bodies are validated and unpacked. Reproduce the current error with Array, Integer, and String JSON bodies, then add coverage for the supported non-Hash cases; done means these bodies no longer raise the stated invalid-input error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100