marmelab / marmelab/json-graphql-server
[Question] Map 'id' to something else.
Open
Enhancement
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 166
- Avg merge
- 3m
- Merged PRs (30d)
- 3
Description
Hello,
According to the docs : "By convention, json-graphql-server expects all entities to have an id field".
Unfortunately this is not my case, how can I inform json-graphql-server to use another field instead of 'id'?
Thanks,
Alessio
Contributor guide
Research direction
Read the documentation section describing the required id field, then trace how json-graphql-server identifies entities. Determine whether an alternate identifier is already supported or whether the request needs a defined configuration change; done means the supported behavior and its documentation are clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, javascript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100