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

GraphQL code generation is broken #159

Closed
neopostmodern opened this issue Aug 7, 2022 · 0 comments
Closed

GraphQL code generation is broken #159

neopostmodern opened this issue Aug 7, 2022 · 0 comments
Milestone

Comments

@neopostmodern
Copy link
Owner

The already fragile constellation of packages to keep the deprecated apollo client:codegen happy seems to have finally broken.
By now it seems to be easier to switch to an alternative (see e.g. apollographql/apollo-tooling#2053) than to fix it again.

@neopostmodern neopostmodern added this to the v0.20.2 milestone Aug 7, 2022
neopostmodern added a commit that referenced this issue Aug 7, 2022
- add endpoint and graphQL types
- create hook `useEntitesUpdatedSince` which updates cache, pages query with `cache-only`
- store `updatedSince` in *localStorage* for now
- used on `NotesPage` and `TagsPage`
- missing client typescript types for graphQL types, blocked on #159
- filter notes with `deletedAt` in `useFilteredNotes` since deleted notes sometimes get sent to client now (to indicate deletion)
- `useDataState` treats loading state like background loads, as happens with `refetch`
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

No branches or pull requests

1 participant