fireway
fireway copied to clipboard
"fireway detected open async calls" when creating documents
For some reason, I keep getting warnings that "fireway detected open async" calls whenever I create a document in a migration. All of these example migrations that do manage their async calls properly, are getting that warning.
module.exports.migrate = async ({ firestore: db }) => {
await db.collection('test').add({ foo: 'bar' });
};
module.exports.migrate = async ({ firestore: db }) => {
await db.collection('test').doc().set({ foo: 'bar' });
};
module.exports.migrate = ({ firestore: db }) => {
db.collection('test').doc();
};