JSONAPI-Resources / JSONAPI-Resources/jsonapi-resources
Accept multiple types at one endpoint?
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 2.3k
- Forks
- 546
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to accept multiple types at the same endpoint and use the corresponding Resource? i.e. multiple STI variants all using the same controller rather than making a controller for each?
Contributor guide
No contributing guide indexed for this repository
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
No files or tests are named. Start by tracing how the Rails library maps an endpoint to a controller and Resource, then examine how STI variants are currently handled. The work would be complete when the supported behavior for multiple types at one endpoint is defined and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100