JSONAPI-Resources / JSONAPI-Resources/jsonapi-resources

How to use singular type name?

Open
#1,070 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
2.3k
Forks
546
PR merge metrics
No merged PRs in 30d

Description

In AMS we can choose which type format to use in json:api document, and it looks like JSONAPI::Resources doesn't have this option now. It would be very helpful if we can custom the type attribute.

Contributor guide

No contributing guide indexed for this repository

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 examining how JSONAPI::Resources currently derives the JSON:API type attribute and compare that behavior with the configurable type formatting described for AMS. Define the supported customization and its expected output before identifying the relevant serializer or resource entry point and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.