Added
- Add
syncWithoutDetaching
option for BelongsToMany and MorphToMany relationships #1031 - Add
injectArgs
option to@can
directive to pass along client defined
arguments to the policy check #1043 - Allow globally turning off relation batch loading through the
config optionbatchload_relations
#1059 - Add
\Nuwave\Lighthouse\Execution\DataLoader\BatchLoader#loadMany()
function #973 - Extend
@rename
directive to work with arguments and input fields #521
Changed
- Add ability to fetch soft deleted model within
@can
directive to validate permissions
using@softDeletes
directive. #1042 - Improve the error message for missing field resolvers by offering a solution #1045
- Throw
DefinitionException
when missing a type in the type registry #1066 - Add
INPUT_FIELD_DEFINITION
toorderBy
directive location #1069