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

add typed push and set. #80

Closed
wants to merge 1 commit into from
Closed

Conversation

proppy
Copy link
Contributor

@proppy proppy commented Apr 15, 2016

See #60.

}
FirebaseSet Firebase::set(const String& path, double value) {
return FirebaseSet(host_, auth_, path, jsonEncode(value), &http_);
}
FirebaseSet Firebase::set(const String& path, const String& value) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: that this will break client that were pushing json encoded string.

If needed, we could error out if the value is decoding to a valid json object / literal to help with the transition.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ya I like that idea.

@ed7coyne
Copy link
Collaborator

LGTM overall, if possible I would really like to merge #83 first though.

@proppy
Copy link
Contributor Author

proppy commented Apr 27, 2016

closing in favor of #98

@proppy proppy closed this Apr 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants