Netflix / falcor

A JavaScript library for efficient data fetching
http://netflix.github.io/falcor
Apache License 2.0
10.48k stars 445 forks source link

References to "JSON value types" are confusing/misleading #316

Open msweeney opened 9 years ago

msweeney commented 9 years ago

There are a few references to "JSON value type" in the documentation, for example Key is defined as: "A part of a Path that can be any JSON value type", however the allowed types are actually limited to "string", "number", "boolean", and "null", which is a subset of the allowed JSON value types per the spec:

5 JSON Values A JSON value can be an object, array, number, string, true, false, or null.

It may be better to refer to the allowed types explicitly, or perhaps to add a new type to the Typedefs that maps directly to these types, maybe something like a JSONGKeyValue type?

ThePrimeagen commented 8 years ago

@jhusain