ngxs-labs / entity-state

⏱ WIP: Entity adapter
48 stars 12 forks source link

[Feature request] IdStrategy with nested keys #306

Open luchian94 opened 2 years ago

luchian94 commented 2 years ago

It would be nice to be able to generate id from some nested object of the entity.

I saw in some other similar implementations of entity adapters the possibility to pass a function for generating the id.

Is this possible?