• Bryan Boreham's avatar
    Fix WithLatests() de-duplication · ba656a37
    Bryan Boreham authored
    The fixup() method was modifying a copy of its input, so you could get
    duplicate keys in the output. Change it to return the new slice.
    
    Thankfully this is rare: in most cases WithLatests() is called with
    fields that are not duplicates of existing ones.
    ba656a37