-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Default selectId function for EntityAdapter #378
Comments
Fixed via #405 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a...
What is the current behavior?
I have several entities, and I use always id property for the primary key. So, to create the EntityAdater I must repeat the code like:
Expected behavior:
This could be greate if createEntityAdapter uses a default selectId method which will take
id
property of object as a primary key. So I just need call this functionMinimal reproduction of the problem with instructions:
Version of affected browser(s),operating system(s), npm, node and ngrx:
Other information:
The text was updated successfully, but these errors were encountered: