You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Objective
Recommending users to use `WithRelated([child2, child3].into_iter())`
feels a bit weird.
## Solution
Add `WithRelated::new`, which uses `IntoIterator` to do the conversion
more cleanly and succinctly. The old way is still left as an option for
those wanting it.
## Testing
Updated the test to use the `new` function.
0 commit comments