As you've seen from the replies, this is a complex subject.
I would recommend a DC-DC charger because the truck's charging system is not set up for lithium, and the potential for backfeeding to the truck can cause various issues (can throw codes or even over-charge your truck's starting batteries which can actually be dangerous).
Another option is a disconnect, as mentioned. A third option is a diode on the camper and/or truck that will only allow current in one direction. However, due to the elevated charging voltage of the lithium batteries the only solution (of those discussed thus far) that will actually charge them effectively from the truck is the DC-DC charger.
If you purchase a DC-DC charger, get something rated for only 12A or so. The voltage drop over the conductor is significant so pulling more than that will cause issues with chargers that are programmed to put out a specific amount of wattage (i.e. as voltage drops the current required for a given wattage increases in a "vicious cycle" until the truck's auxiliary power fuse blows; this is what will happen with a Victron 30A DC-DC charger if used with my truck which is a 2017). The exception to this is the new Victron 50A DC-DC charger which allows the user to specify an input current limit so it does not exceed the ampacity of the input circuit. Just remember that all of the trailer circuits share a single 10 AWG ground back to the truck, so your brakes' (!!!) performance will be affected by the amount of current drawn by the rest of the trailer since all loads will increase the voltage drop over the ground conductor (and hence reduce the apparent voltage across a given load).
I consider all of these solutions to be inadequate, personally. I also don't like the big fat snow plow plug idea because it's only useful for one application (and still requires the DC-DC charger to work properly with lithium, and with even higher amperage likely necessitating multiple chargers in parallel). To provide power transmission to the trailer, I put a 3kw inverter in my truck with 30A and 20A outlets in the truck bed, and I relocated the power inlet on my fifth wheel under the overhang. I keep my trailer (which has twin Victron inverters, lithium, and solar) energized with 120VAC at all times while moving; it's basically a mobile/continuous 30A campground service and the batteries charge via the inverter-chargers which are set up specifically for my battery chemistry. There is no DC-based solution that can provide this capability, and the ability to use the truck as a generator for other purposes is really convenient. Details on this install can be found in my signature.