The priority date of names is currently determined by register list (see Name.priority_date), but this causes an N+1 queries issue when gathering type material. We should instead store a cached value in the Name table instead. This would also allow to eventually capture the priority dates of ICNP names.
The priority date of names is currently determined by register list (see
Name.priority_date
), but this causes an N+1 queries issue when gathering type material. We should instead store a cached value in theName
table instead. This would also allow to eventually capture the priority dates of ICNP names.