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

Can't manually set foreign key with populate()? #43

Open
spacesuitdiver opened this issue Feb 5, 2016 · 0 comments
Open

Can't manually set foreign key with populate()? #43

spacesuitdiver opened this issue Feb 5, 2016 · 0 comments

Comments

@spacesuitdiver
Copy link

I'm having a bit of problem where the app foreignKey isn't set when running barrels.populate(...), looks fine in the barrels.data, any idea what I'm missing? Thanks for the help.

App.json

[
    {
        "id":           "SsQbM0b10QCuWxMj11tnUIh0OJBDX64sttSsrR5U",
        "name":         "My App",
        "createdBy":    1,
        "ownedBy":  1,
        "createdAt":    "2015-10-30T22:19:58.921Z"
    }
]

AuthStrategy.json

[
    {
        "type": "facebook",
        "id": 1,
        "ownedBy": 2,
        "app": "SsQbM0b10QCuWxMj11tnUIh0OJBDX64sttSsrR5U",
        "accessToken": "..."
    }
]
@spacesuitdiver spacesuitdiver changed the title Can't manually set foreign key? Can't manually set foreign key with populate()? Feb 5, 2016
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