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

fileld relationships #82

Open
RuslanTroshkov opened this issue Jul 4, 2018 · 1 comment
Open

fileld relationships #82

RuslanTroshkov opened this issue Jul 4, 2018 · 1 comment
Labels

Comments

@RuslanTroshkov
Copy link

"ObjectDocument

document = new ObjectDocument<>();
document.set(article);
document.include(author);
System.out.println(moshi.adapter(Document.class).toJson(document)); "

The json does not have a relationships field

@kamikat
Copy link
Owner

kamikat commented Dec 2, 2018

Any HasOne/HasMany-typed field in article object?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants