Don't treat `id` as a special field unless instructed to do so
See original GitHub issueRight now, the id
field on an object is treated as a globally unique ID no matter what. I think this could cause serious issues for backends where the id
property is not unique across types.
It’s probably worth hiding this feature behind a flag somehow so that you can turn it on if you have a relay-like backend, and think about whether we want to handle non-unique IDs, or just build the Apollo Server to make it super easy to use these unique IDs.
@helfer do you think the Relay node spec is something that would be easy to build into the server? One more option is to make the client work with (id, typename) pairs, and not assume id
is unique across all objects.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:15 (15 by maintainers)
Top Results From Across the Web
Do-not-resuscitate order: MedlinePlus Medical Encyclopedia
A do-not-resuscitate order, or DNR order, is a medical order written by a doctor. It instructs health care providers not to do ......
Read more >Methods for De-identification of PHI - HHS.gov
This page provides guidance about methods and approaches to achieve de-identification in accordance with the Health Insurance Portability and Accountability ...
Read more >Instructions for Completing the CMS 1500 Claim Form
If the item is a medical supply, enter the two-digit manufacturer code in the modifier area after the five-digit medical supply code. 24E....
Read more >OSHA Forms for Recording Work-Related Injuries and Illnesses
This booklet includes the forms needed for maintaining occupational injury and illness records. Many but not all employers must complete the OSHA injury...
Read more >FERPA - Protecting Student Privacy
(c) An educational agency or institution must use reasonable methods to identify and authenticate the identity of parents, students, school officials, and any ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@stubailo yep, it’s more idiomatic with redux and doesn’t expose an API that people not using redux might be confused by 🎉
Sounds good to me!