aerogear / offix

GraphQL Offline Client and Server
https://offix.dev
Apache License 2.0
759 stars 45 forks source link

Simplify Datastore flow #969

Open kingsleyzissou opened 3 years ago

kingsleyzissou commented 3 years ago

Bug Report

things could be even simplified every time you do subscription simply refetch changes from the database it will be slower but it will functionally work and make things very very simple so entire hooks issues will go away ID Swap logic will go away and any update will simply update store again and send generic hook to "refetch all"

kingsleyzissou commented 3 years ago

cc @wtrocki from our conversation

RinkiyaKeDad commented 3 years ago

Hi @kingsleyzissou! Can I work on this issue? Could you please provide some more detials about what needs to be done? Thanks.

kingsleyzissou commented 3 years ago

Hey @RinkiyaKeDad, I should have had myself assigned to this because it is something I'm coming back to now. Basically we had a PR up for this issue, but we decided to go back to the drawing board and simplify our approach. I can go through some of the issues and see if there is one that I could see if we need help on. The thing is quite a lot depends on this issue here.

RinkiyaKeDad commented 3 years ago

Thanks, @kingsleyzissou! It'd be great if you could point me towards an issue to start with. I was going through the list of issues but wasn't able to figure out which one would be a good starting point 😅