Flutter App with Firestore and GraphQL

232 views
Skip to first unread message

guilherme jacobus

unread,
Aug 21, 2022, 3:13:01 AM8/21/22
to Firebase Google Group
Hey team, I have a Flutter app with a Firestore db, it works fine the way I want, but since a few days I started wondering if there are benefits of using GraphQL with Firestore? I was wondering if someone has used all these 3 technologies together and if so, would like to see what benefits I'd get by doing this. The app is pretty fast itself, does not have much data, but sometimes I wonder if using GraphQL I could make the App faster with queries and stuff?

Hope you have a good day!

Kind regards, Guilherme.

Michael Bleigh

unread,
Aug 21, 2022, 12:05:58 PM8/21/22
to Firebase Google Group
Using GraphQL with Firestore would not make things faster -- since Firebase SDKs already talk directly to the backend database the connection is as fast as it can be.

GraphQL can be used with Firestore, but you would mostly do so if you had a specific reason to prefer the data composition or query patterns it enables.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/0e691e2a-2a40-4f19-8587-993d5c2bc955n%40googlegroups.com.

guilherme jacobus

unread,
Aug 22, 2022, 2:53:03 AM8/22/22
to fireba...@googlegroups.com
Oh really? That's good to know, as I don't really have a specific reason to have the data like that pattern, so it will save me some code refactoring... Thanks for explaining it to me!

Reply all
Reply to author
Forward
0 new messages