This repository has been archived by the owner on Mar 20, 2022. It is now read-only.
Documentation is lacking more examples #490
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think the documentation / readme is lacking examples. The Quick Start section is a great start, but what about describing how to denormalize? And also, it's not quite clear how you tell normalizr what Model it is supposed to denormalize.
For instance, if you gave multipel models (User, Post, Comment), where do you describe what model you're denormalizing? Currently, from fiddling around in the dark, this seems to work:
normalize({ tasks: someTasksArray }, stateSchema);
although it's not very pretty, plus you're forced to pass an array/collection, even if you're just wanting to normalize a single entity.Beta Was this translation helpful? Give feedback.
All reactions