#3195·orval

solid-query: make queries reactive

Author: bug-brainCreated Apr 3, 2026Updated Aug 16, 2026
Labelssolid

Description

I would like to be able to change the parameters/options of a query without basically writing the generated function myself.

Current behavior

The generated function cannot react to signal changes.

Proposed behavior

Instead of having to call a signal to pass its value to the generated function I would pass the signal itself.

Proposed solution

The generated functions (for exmaple getShowPetByIdQueryKey) should use accessors as parameters and call them in the function passed to useQuery.