Skip to content

Instantly share code, notes, and snippets.

@relwell
Created March 23, 2020 20:45
Show Gist options
  • Save relwell/fb2c3f693e39e8cdde40d27a2099fac9 to your computer and use it in GitHub Desktop.
Save relwell/fb2c3f693e39e8cdde40d27a2099fac9 to your computer and use it in GitHub Desktop.
hash query component log output
inside params query component
{data: {…}, variables: {…}, refetch: ƒ, fetchMore: ƒ, updateQuery: ƒ, …}
data:
searchParams: {q: "{"children":[{"children":[],"key":"stomach"}],"key":"AND"}", sorts: Array(0), aggFilters: Array(1), crowdAggFilters: Array(0), page: 0, …}
variables: {hash: "pQJf6HTK"}
refetch: ƒ ()
fetchMore: ƒ ()
updateQuery: ƒ ()
startPolling: ƒ ()
stopPolling: ƒ ()
subscribeToMore: ƒ ()
loading: false
networkStatus: 7
error: undefined
client: ApolloClient {defaultOptions: {…}, resetStoreCallbacks: Array(1), clearStoreCallbacks: Array(0), link: ApolloLink, cache: InMemoryCache, …}
__proto__: Object
fs.js:3 inside hash query component
{data: {…}, variables: {…}, refetch: ƒ, fetchMore: ƒ, updateQuery: ƒ, …}
data:
searchHash: "pQJf6HTK"
variables:
aggFilters: Array(1)
0: {field: "start_date", gte: "2001-01-01T00:00:00.000Z", lte: undefined}
length: 1
__proto__: Array(0)
crowdAggFilters: []
sorts: []
q: {children: Array(1), key: "AND"}
page: 0
pageSize: 25
__proto__: Object
refetch: ƒ ()
fetchMore: ƒ ()
updateQuery: ƒ ()
startPolling: ƒ ()
stopPolling: ƒ ()
subscribeToMore: ƒ ()
loading: false
networkStatus: 7
error: undefined
client: ApolloClient {defaultOptions: {…}, resetStoreCallbacks: Array(1), clearStoreCallbacks: Array(0), link: ApolloLink, cache: InMemoryCache, …}
__proto__: Object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment