Repository navigation
Commit c7607e3
committed
fix(snapshot): check full_history_restatement_only before depends_on_self
Snapshot.depends_on_past evaluated depends_on_self first, which renders the
model query and can fail to hydrate user code when computing removal
intervals for restatement. Full history restatement models already depend on
past intervals, so evaluate that check first and short-circuit. Only the
evaluation order changes.
Signed-off-by: Alex Castillo <alex.castillog33@gmail.com>1 parent f0ed98e commit c7607e3
2 files changed
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1472 | 1472 | | |
1473 | 1473 | | |
1474 | 1474 | | |
1475 | | - | |
| 1475 | + | |
1476 | 1476 | | |
1477 | 1477 | | |
1478 | 1478 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
919 | 919 | | |
920 | 920 | | |
921 | 921 | | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
922 | 947 | | |
923 | 948 | | |
924 | 949 | | |
| |||
0 commit comments