Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Do not rely on specific JSON structure

Open
#168 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
react, typescript
Domain
api, frontend

Research direction

Start by locating the admin tool's handling of hydra:member and totalItems, then inspect how collections nested in @graph are parsed. Done means the tool works with Hydra-conformant APIs that use alternate valid JSON-LD naming or nesting rather than requiring one specific top-level structure.

Written by the indexing model from the issue text.

Description

bug

Expected behaviour

The admin tool can be used with any Hydra-conform API, that have the correct semantics.

Actual behaviour

The tool relies on specific JSON structures on some places, e.g collections need to have a property "hydra:member" on top level of the JSON structure. APIs with other namings or nesting in @graph fail. Same goes for "totalItems" and I suspect several other places.

Dominant language
TypeScript
Stars
516
Forks
134
PR merge metrics
No merged PRs in 30d

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.

More from api-platform/admin

All issues in api-platform/admin

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.