-
Notifications
You must be signed in to change notification settings - Fork 75
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
Relay Revamp #484
Relay Revamp #484
Conversation
Wow! Cool! I’ll review this weekend |
I need to update a few more things to fix the build first 👍 |
Let's migrate to |
Now ready 👍 |
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.
@njlr amazing job! Could you address a few remarks, please?
@njlr if you can address that for tomorrow I will review and merge that immediately and issue the new version of the packages as I want to use your new changes |
Comments addressed 👍 |
bd8ded6
to
8d6bb09
Compare
8d6bb09
to
9d1b50a
Compare
Amazing! @njlr have a look at my last changes |
* Add a relay sample that fetches data efficiently from SQLite
Co-authored-by: Andrii Chebukin <XperiAndri@Outlook.com>
Co-authored-by: Andrii Chebukin <XperiAndri@Outlook.com>
Co-authored-by: Andrii Chebukin <XperiAndri@Outlook.com>
Co-authored-by: Andrii Chebukin <XperiAndri@Outlook.com>
9d1b50a
to
f2cf145
Compare
The existing relay pagination code was synchronous, and therefore not usable against a real data-store.
This PR makes the types async and introduces some strong typing. This is a breaking change.
I also removed the old Relay sample, which no longer works anyway, and have added a new pagination sample.
The sample queries data from SQLite, which shows that it can work for real data-stores. It is efficient in terms of data-fetching.