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

Feature/use graphql #395

Merged
merged 47 commits into from
Oct 27, 2023
Merged

Feature/use graphql #395

merged 47 commits into from
Oct 27, 2023

Conversation

schroda
Copy link
Collaborator

@schroda schroda commented Jul 8, 2023

No description provided.

"bundler" causes a tsc issue with the generated graphql file where the imported file can't be found.
Makes it possible to modify the generated graphql file by codegen.
Even if they are generated files, they should be checked-in so that it's possible to check out an old commit and still have the same files as they were at the time the commit was created.
In case they wouldn't be checked-in and the schema has changed in the meantime, there is no possible way to build the same generated files anymore
The "loading" and "networkStatus" state do not get correctly updated when e.g. calling "fetchMore".
This seems to happen because an abort signal is passed on every hook call.
Due to passing this signal, the passed args to the hook change, and thus, it looks like apollo considers this a completely new hook call.
By preventing the signal from being passed, the hook correctly updates these states, but, on the contrary, it is not possible to abort these requests anymore
Was only updated after clicking "OK" once.
This was caused due only updating the language selection once the app language was changed or in case the selected languages (after clicking "OK") changed
Due to setting categories to be an empty array by default, the loading text was never shown
the gql updater subscription currently return stale data, thus, the mangas do net get updated in the cache
@schroda schroda changed the title [WIP] Feature/use graphql Feature/use graphql Oct 27, 2023
@schroda schroda marked this pull request as ready for review October 27, 2023 19:08
@schroda schroda merged commit 76d1ba8 into Suwayomi:master Oct 27, 2023
1 check passed
@schroda schroda deleted the feature/use_graphql branch October 27, 2023 19:12
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.

1 participant