ruby-grape / ruby-grape/grape-entity

Enable type: presenter with Grape

Open
#101 0 comments 0 reactions 0 assignees View on GitHub

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.