ruby-grape / ruby-grape/grape-entity

Version 0.8 compatibility with grape 1.3.1

Open
#334 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
729
Forks
154
PR merge metrics
No merged PRs in 30d

Description

I've recently started work on updating our codebase to the current versions of grape, grape-entity and grape_logging. Whereas one of our APIs works with grape 1.2.4, grape-entity 0.7.1 and grape_logging 1.8.1, it doesn't with the latest versions.

The API in question defines some params that are entities as required. No matter what params are passed to the call, an 400 response is returned with an error indicating that each required entity param is invalid.

Does version 0.8 of grape-entity still work with grape 1.3.1? If so, what has changed that may have triggered this problem?

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 reproducing the required entity-parameter validation failure with grape 1.3.1 and grape-entity 0.8, using the API behavior described in the issue. Compare the dependency versions and validation behavior; done means establishing whether the versions are compatible and documenting the cause or required change.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.