-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename Entity to something different? #16
Comments
Could you please tell why you thinking about a name change |
Well, there is no tradition of calling something In the |
One interesting question is what the same thing is called in the apollo and relay worlds. |
Btw the use of the name |
But as I said above, documentation might be all we need. Something like "The GraphQL response is turned into normalized objects that are used as cache records. Each such object must have an unique ID that is also used as cache key. We refer to these objects as |
We actually normalize all objects, even if they have no ID (in that case we generate an ID). Objects that have no ID are refered to as This is how it works today, depending on how we resolve #27 this may change. |
Also calling something a |
Today an object in the cache is referred to as an
Entity
.An object in the cache have these characteristics:
Other names that might be more self-documenting:
CacheRecord
NormalizedObject
Entity
is nice because it is a single word. Perhaps we can keep it and document the meaning of it better.The text was updated successfully, but these errors were encountered: