The problem is that when the entities are retrieved (which they are), they are stored in my Redux state by index, rather than by ID. Note the screenshot:
If I had no need for denormalization, I could make this work. But when I denormalize them (with normalizr.denormalize), it attempts to look the entities up by ID, which breaks (each value for relational data loses its id and becomes undefined).
Hey, not sure where to look for the problem here. My query definitions look like
The problem is that when the entities are retrieved (which they are), they are stored in my Redux state by index, rather than by ID. Note the screenshot:
If I had no need for denormalization, I could make this work. But when I denormalize them (with normalizr.denormalize), it attempts to look the entities up by ID, which breaks (each value for relational data loses its
id
and becomesundefined
).Any ideas?