Skip to content

Conversation

@janvogt
Copy link
Contributor

@janvogt janvogt commented Nov 18, 2016

  • When used without key they contained a spurious comma, since
    ['equalTo', ['a', undefined]].join(':') is 'equalTo:a,' (with comma at the end) and not 'equalTo:a' which would be the result of ['equalTo', ['a']].join(':').
- When used without key they contained a spurious comma, since ['a', undefined] == 'a,' != 'a' == ['a']
@janvogt
Copy link
Contributor Author

janvogt commented Nov 19, 2016

BTW: Possibility to do so is in the official documentation e.g.: https://firebase.google.com/docs/reference/js/firebase.database.Reference#equalTo

@Salakar
Copy link
Collaborator

Salakar commented Nov 19, 2016

I think this may have been fixed in the v3 branch, could you have a look? If not could you do a PR to my fork and I'll merge it into v3

@janvogt
Copy link
Contributor Author

janvogt commented Nov 19, 2016

I can't test it right now, but looking at the code it does seem to be fixed there. When will you release v3 to the NPM repo?

@Salakar
Copy link
Collaborator

Salakar commented Nov 19, 2016

Hopefully have an alpha version out soon

@Salakar
Copy link
Collaborator

Salakar commented Jan 13, 2017

RC1 out on npm, can confirm this is working. Closing

@Salakar Salakar closed this Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants