Skip to content

type property in a DocumentChangeAction always has "value" #2108

Closed

Description

@meness

Version info

Angular: 8.0.0

Firebase: 6.1.1

AngularFire: 5.2.1

Browser: Google Chrome 75.0.3770.80

How to reproduce these conditions

this._firestore.collection<Model>(COLLECTION).doc<Model>(DOCUMENT).snapshotChanges()

Expected behavior

snapshotChanges() returns a type property with different values: added, modified, removed as described in the documentation.

Actual behavior

snapshotChanges() always returns value for the type property.

Activity

  1. KingDarBoja commented on Aug 18, 2020

    @KingDarBoja
    Contributor

    Related to #1762

  2. KingDarBoja commented on Nov 26, 2020

    @KingDarBoja
    Contributor

    Seems like fixed at #2683

  3. jamesdaniels commented on Nov 27, 2020

    @jamesdaniels
    Contributor

    Yep. Cut in 6.1.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions