Skip to content

Conversation

schmidt-sebastian
Copy link
Contributor

This implements go/firebase-ref-from-ref:

// Before:
// The developer must know of the little-used refFromUrl and must also know that a
// ref's toString is the full URL of the ref
let ref2 = admin.database().refFromURL(ref1.toString());

// After:
// more intuitive
let ref2 = admin.database().ref(ref1);

@schmidt-sebastian schmidt-sebastian changed the title Mrschmidt reffromref Database API: Ref from Ref Feb 27, 2018
@schmidt-sebastian schmidt-sebastian merged commit dbed689 into master Mar 1, 2018
@gsoltis
Copy link

gsoltis commented Mar 1, 2018

Late to the party, but LGTM to me too.

@schmidt-sebastian schmidt-sebastian deleted the mrschmidt-reffromref branch March 26, 2018 21:33
@firebase firebase locked and limited conversation to collaborators Oct 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants