If a regular query has a nested @live field, an empty query is triggered.
e.g., if i have
query {
project(id: $project_id) {
id
name
projectTodos @live {
id
description
}
}
}
cashay fires the subscriber for projectTodos everything is great, then when redux triggers a new stateToComputed which triggers another cashay.query(projectQuery, ... this gets sent to the server:
If a regular query has a nested
@live
field, an empty query is triggered.e.g., if i have
cashay fires the subscriber for
projectTodos
everything is great, then when redux triggers a newstateToComputed
which triggers anothercashay.query(projectQuery, ...
this gets sent to the server:which throws an error because no subfields are selected.
I'm not sure why cashay is sending this to the server in the first place.
Note that if the
project
field is also marked@live
or@cached
this doesn't happen. Only if its a vanilla field.