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

added user belongsTo relationship to posts #84

Merged
merged 1 commit into from
Oct 31, 2018
Merged

Conversation

nfebe
Copy link
Contributor

@nfebe nfebe commented Oct 30, 2018

Signed-off-by: Fenn-25 fenn25.fn@gmail.com

As mentioned in #80 It's necessary for developers to be able to access the post.user (author) directly from the post object without any custom code.
The relationship is implemented using the default Backend\Models\User model.

Signed-off-by: Fenn-25 <fenn25.fn@gmail.com>
@gergo85 gergo85 merged commit 7510b26 into gergo85:master Oct 31, 2018
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

Successfully merging this pull request may close these issues.

2 participants