Skip to content
This repository has been archived by the owner on Aug 25, 2018. It is now read-only.

Set default type #7

Closed
hijonathan opened this issue Aug 7, 2014 · 1 comment
Closed

Set default type #7

hijonathan opened this issue Aug 7, 2014 · 1 comment

Comments

@hijonathan
Copy link

Would be great to set a default type on the schema. I find myself writing type: object a LOT. In Soviet Javascript, everything is an object.

@tomlarkworthy
Copy link
Contributor

Yeah, there is a tension between leaving new Firebasess untyped by default so new users can get started quickly, vs. typing everything. If you leave the type out it defaults to "all" but that allows strings in the location too.

Its quite deliberate that everything is not an object by default, but I will register your opinion.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants