Pascal-fr
BBuildShip
•Created by Pascal-fr on 1/26/2025 in #❓・buildship-help
Buildship Staging vs Prod environments
Hi there,
I'm looking for some best practices on how to communicate with my Staging and Prod environments in Firestore using Buildship.
The documentation is talking about Environment Variables (https://docs.buildship.com/env-var), but it doesn't really answer my question. Is there an official way in Buildship to switch between my Firebase Project IDs so I can easily switch between Staging and Production?
Thanks,
4 replies
BBuildShip
•Created by Pascal-fr on 12/2/2024 in #❓・buildship-help
Inconsistent API output with 'body'
Hi there,
I have an issue with my API outputs using v2 of BuildShip. I'm using the Firebase Auth Request to get the data from Firestore and returning the 'data' object of a Firestore document.
So far so good. However, it seems like there is something wrong with the Output node. Instead of returning the data object as it is, the result is being nested in a "body" class.
So, instead of :
{
"uid": 000000,
"name": john
}
I get :
{
"body": {
"uid": 000000,
"name": john
}
}
I don't have this issue with my Flows using BuildShip v1. And unfortunately I can't build my new flows using the v1.
Any tips?
Thanks,
3 replies