Liam W in memoriam 1998-2020 Aug 22, 2017 #1 We can currently add additional relations to fetch with the visitor entity by extending the User repository. It would be less faff, and less chance for breakages, if there was a code event to do this Liam Last edited: Aug 22, 2017 Upvote 0
We can currently add additional relations to fetch with the visitor entity by extending the User repository. It would be less faff, and less chance for breakages, if there was a code event to do this Liam
Jake B. Well-known member Aug 22, 2017 #2 The visitor object just uses the User entity IIRC, so you can add any relations to the User entity and they'll be available, unless you're talking about something else Never mind, just reread it
The visitor object just uses the User entity IIRC, so you can add any relations to the User entity and they'll be available, unless you're talking about something else Never mind, just reread it
Mike XenForo developer Staff member Sep 16, 2017 #3 I've added a visitor_extra_with to the getVisitorWith method in the User repo, so that should sort this.
I've added a visitor_extra_with to the getVisitorWith method in the User repo, so that should sort this.