* Wraps a single query in an object. This is used to provide backward compatibility with * the old `query` prop (as opposed to `queries`). If only a single query is passed, the object * will be unpacked down the line, but this allows our internals to assume an object of queries * at all times.
(query)
| 189 | * at all times. |
| 190 | */ |
| 191 | function wrapInQueryObject(query) { |
| 192 | return { __DEFAULT__: query }; |
| 193 | } |
| 194 | |
| 195 | /** |
| 196 | * Unwraps an object of queries, if it was originally passed as a single query. |
no outgoing calls
no test coverage detected
searching dependent graphs…