Add support for peekQuery and previewQuery
#6322
Unanswered
niekdemelker
asked this question in
Ideas & Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As the title states, Add support for the
peekQueryandpreviewQueryfunctions.Sometimes you don´t want to load all there is in the details query, and sometimes you want some extra in the peek, like for example a count for amount of relations. Now the Peek and Preview always load the DetailQuery data, which could be ta much or not enough. All the other Query types have there own functions so this should be no exception.
this could be extended in the
\Laravel\Nova\PerformsQueriesfile with the following backward compatibility., and offcourse the controllers should look for this new function instead of thedetailQuery.Beta Was this translation helpful? Give feedback.
All reactions