Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Missing Documentation] First field in collection "must" be a unique non null value #8

Open
ktutnik opened this issue Dec 21, 2018 · 0 comments

Comments

@ktutnik
Copy link

ktutnik commented Dec 21, 2018

Looks like KnexNest uses the first data as a reference to create Hydration meta data, and Hydration will use it as a reference to distinct the data. I also found that #7 issue related with this.

example:

[{
    _id: 1,
    _name: "abc",
    _child__id:1, //<-- must unique non null
    _child__name:"def"
},
{
    _id: 1,
    _name: "abc",
    _child__id:2, //<-- must unique non null
    _child__name:"efg"
},]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant