ruby-grape / ruby-grape/grape-entity
Enable type: presenter with Grape
Open
Nobody has claimed this yet.
feature
- Dominant language
- Ruby
- Stars
- 729
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
See https://github.com/intridea/grape/issues/827, we want to be able to write:
requires :spline, type: Api::SomeEntity
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 by reading the linked Grape issue #827 and tracing how grape-entity handles the type option. Confirm the expected behavior for requires :spline, type: Api::SomeEntity, then identify the relevant tests or entry points in the repository. Done means that presenter-style entities can be supplied through Grape's type: option with coverage for the requested syntax.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100