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
Example of UserWithTweets entity with custom Put/Get/Delete resolvers #520
Conversation
Example of UserWithTweets entity with custom Put/Get/Delete resolvers
Nice example and good start for tests =) |
Oh shi 👯 I forgot to add "not for merge yet" :) @Rainer-Lang please feel free to review and comment this PR! @nikitin-da sorry, my bad :) |
I don't think that this will work for me. |
Yep, in your case you can just eliminate User class and read it from the ср, 16 Сен 2015, 2:18, Rainer-Lang notifications@github.com:
@artem_zin |
The main idea was to show you how to retrieve Tweets of the User (Cars of I'll make another PR tomorrow with Persons and Cars but we won't merge it, ср, 16 Сен 2015, 2:27, Artem Zinnatullin artem.zinnatullin@gmail.com:
@artem_zin |
Artem, I have some difficulties with the three resolvers. Could you please help me? |
Ah ok fine. :-) |
Sure, please ask your questions, I'll answer them after sleep :) |
Please make your pr with person and cars so we can discuss - without merge. ;-) |
// | ||
// At the moment, you can save this instance in performGet() and then null it at the end | ||
@NonNull | ||
private final ThreadLocal<StorIOSQLite> storIOSQLiteFromPerformGet = new ThreadLocal<StorIOSQLite>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any plans when to release v2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As soon as we will complete all issues with milestone v2.0.0 :) No concrete dates, but probably near to the end of this year, I hope :)
cc @Rainer-Lang, here is the example of an entity with references to another entities (I used existent
User
andTweet
just to minimize new code and make sample app small and understandable, hope you will be able to map it onto your Person with Cars relationship!)@nikitin-da PTAL :)