Replies: 1 comment 1 reply
-
Hi @ahoiroman, Not at the moment but in v2 we change the behavior into an opt in behavior where you should define which properties can be included by query. By default all properties can be included but returning an empty array here disables the feature: Hope we can release v2 really soon! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everybody,
I am just wondering, whether it's possible to disable this behavior: https://spatie.be/docs/laravel-data/v1/as-a-resource/lazy-properties#including-by-query-string .
Reason: I got really large nested objects and I need to prevent people to set queries, that create a really large call stack.
Beta Was this translation helpful? Give feedback.
All reactions