Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Adding null-safe handling for Transaction.get in cloud_firestore #558

Commits on May 9, 2018

  1. Adding null-safe handling for Transaction.get in cloud_firestore

    If you `.get` a document that doesn't exist, the result's `data` is `null`. This is expected behavior.
    Transactions were attempting to `.cast` this to a Map without null-safety.
    This caused an error in transactions when getting a document that doesn't exist.
    A unit test was added to verify the fix.
    killermonk committed May 9, 2018
    Copy the full SHA
    141a8da View commit details
    Browse the repository at this point in the history