Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.
This repository was archived by the owner on May 19, 2025. It is now read-only.

Firebase-query Equal To Issue #59

@merc37

Description

@merc37

Description

Setting the equal-to attribute to a boolean type does not work as expected when its value is false. The attribute works as expected when boolean and true, or other types.

Expected outcome

When a document in the Firebase database has a child in it set to true, and the firebase-query attribute equal-to is set to false, the query should not return that document.

Actual outcome

It returns all documents, ignoring the equalTo. If the values were instead Strings or equal-to is set to true, it works as expected.

Live Demo

Link to demo

Steps to reproduce

  1. The demo starts with equal-to being boolean false. The expected false results should be a single line of "Boolean value of false", instead all documents are listed.
  2. After clicking test true, equal-to is set to boolean true, a single line of "Boolean value of true" is shown as expected.

Link to database

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