By default when we add a non desired include, we automatically have an InvalidIncludeQuery. The option disable_invalid_includes_query_exception allow us to disable it.
When this option is enabled, we remove the non included relationship and having only allowed relationships.
By default when we add a non desired include, we automatically have an
InvalidIncludeQuery
. The optiondisable_invalid_includes_query_exception
allow us to disable it.When this option is enabled, we remove the non included relationship and having only allowed relationships.