Open
Description
Hi,
I was looking around in the example files to get a better understanding on how to get type-safe factories, and realized that the factory in the react-typescript
always creates the same object.
I was expecting :
server.createList("person", 20);
to create 20 unique Person objects, but it creates 20 identical ones.
Is this expected ?
Modifying the factory to use regular functions instead of getters works, but I'm a bit confused about how to type it properly.
Metadata
Metadata
Assignees
Labels
No labels