3 ms·
if you can add graphql as well, that would be good for you as a business. It gives a migration path for people moving out of firebase and onto things like grap
by sandGorgon 6y ago
if you can add graphql as well, that would be good for you as a business.
It gives a migration path for people moving out of firebase and onto things like graphql. you bridge both worlds.
quick questions - how are you doing conflict resolution ? CRDT or something.
- kiwicopple 6y ago> if you can add graphql as well We are strongly considering it, for the reasons you mention. In the meantime though, we do already offer "graph like" fetching: https://supabase.io/docs/library/get#query-foreign-tables https://supabase.io/docs/library/get#query-foreign-tables (which you can also use over curl). > how are you doing conflict resolution Our realtime library listens to the replication functionality of Postgres. Basically its an Elixir server that listens to the logical decoding and converts the byte stream into JSON. You can connect to this via websockets, but we are also building server-side connectors (like sending to a webhook, kafka, log etc). Great for CDC use cases For the client side conflict resolution - we haven't built conflict resolution into the client libraries yet. It's tough challenge, and we want to make sure we prioritise some of the urgent tasks (auth)
- sandGorgon 6y ago> In the meantime though, we do already offer "graph like" fetching: https://supabase.io/docs/library/get#query-foreign-tables https://supabase.io/docs/library/get#query-foreign-tables (which you can also use over curl). i appreciate the sentiment, but most people will prefer to go from "npm install firebase" to "npm install apollo". anything that doesnt fall into one of those will be a hard sell
- kiwicopple 6y agonpm install supabase ? :) More client libraries coming soon https://www.npmjs.com/package/@supabase/supabase-js https://www.npmjs.com/package/@supabase/supabase-js
- sandGorgon 6y ago:) Look I get the sentiment, but you know what I mean. Graphql would be a killer feature.
- kiwicopple 6y agoHonestly we've had a few people asking now - and you've gotta go where your customers are - so you might see it soon :)
- elitan 6y agoCheck out Hasura (https://hasura.io https://hasura.io)