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

Relay Revamp #484

Merged
merged 28 commits into from
Sep 1, 2024
Merged

Relay Revamp #484

merged 28 commits into from
Sep 1, 2024

Conversation

njlr
Copy link
Contributor

@njlr njlr commented Jul 5, 2024

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.

@njlr njlr marked this pull request as draft July 5, 2024 17:38
@xperiandri
Copy link
Collaborator

Wow! Cool! I’ll review this weekend

@njlr
Copy link
Contributor Author

njlr commented Jul 6, 2024

Wow! Cool! I’ll review this weekend

I need to update a few more things to fix the build first 👍

@xperiandri
Copy link
Collaborator

Let's migrate to voption (when reasonable) and interpolated strings in the code you change

@njlr njlr marked this pull request as ready for review July 19, 2024 18:24
@njlr
Copy link
Contributor Author

njlr commented Jul 19, 2024

Wow! Cool! I’ll review this weekend

I need to update a few more things to fix the build first 👍

Now ready 👍

Copy link
Collaborator

@xperiandri xperiandri left a 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?

@xperiandri
Copy link
Collaborator

@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

@njlr
Copy link
Contributor Author

njlr commented Sep 1, 2024

Comments addressed 👍

@xperiandri
Copy link
Collaborator

Amazing! @njlr have a look at my last changes

@xperiandri xperiandri requested a review from valbers September 1, 2024 11:53
@xperiandri xperiandri merged commit 845f21b into fsprojects:dev Sep 1, 2024
3 checks passed
@xperiandri xperiandri deleted the relay-revamp branch September 1, 2024 13:18
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