This PR adds the possibility of throwing inside the block that adds nested eager loaders.
I need this because I add eager loading as needed depending on fields (user input), recursively, and I don’t know before it’s too late whether my fields are valid.
As the with functions that are modified are marked as rethrows, this should have no impact on existing code and should not require a major version bump.
This PR adds the possibility of throwing inside the block that adds nested eager loaders. I need this because I add eager loading as needed depending on fields (user input), recursively, and I don’t know before it’s too late whether my fields are valid.
As the
with
functions that are modified are marked asrethrows
, this should have no impact on existing code and should not require a major version bump.