Skip to content

Commit

Permalink
Update projects/ngrx.io/content/guide/signals/signal-store/entity-man…
Browse files Browse the repository at this point in the history
…agement.md

Co-authored-by: Tim Deschryver <[email protected]>
  • Loading branch information
markostanimirovic and timdeschryver committed Jun 18, 2024
1 parent d49006c commit 02d0585
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ The default property name for an identifier is `id` and is of type `string` or `

It is possible to specify a custom ID selector, but the return type must still be a `string` or `number`. Custom ID selectors should be provided when adding or setting an entity. It is not possible to define it via `withEntities`.

Therefore, all variations of the `add*` and `set*` functions have an optional (last) parameter, which is an object literal and allows to specify the `selectId` function.
Therefore, all variations of the `add*` and `set*` functions have an optional (last) parameter, which is an object literal that allows to specify the `selectId` function.

For example:

Expand Down

0 comments on commit 02d0585

Please sign in to comment.