• Simon Charette's avatar
    Fixed #27595 -- Made ForeignKey.get_col() follow target chains. · 5e3463f6
    Simon Charette yazdı
    Previously, foreign relationships were followed only one level deep which
    prevents foreign keys to foreign keys from being resolved appropriately.
    This was causing issues such as improper database value conversion for
    UUIDField on SQLite because the resolved expression's output field's
    internal type wasn't correct. Added tests to make sure unlikely foreign
    reference cycles don't cause recursion errors.
    
    Refs #24343.
    
    Thanks oyooyo for the report and Wayne Merry for the investigation.
    5e3463f6
test_foreignkey.py 4.55 KB