
Better model join validation
Better validation for joins through the context of topics
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
uh I'll go uh kind of want to demo this because it ate a good chunk of my week and my uh brain power even though it's a small thing um I've got this model where uh I've made this circular join you don't have to stare it too hard but like basically this joint implicitly depends on this joint and this joint implicitly depends on this join and the validator in current code gives this error which is nice except actually in the real world it turns out that what happens is people make these like a hundred deep things of relationships and then you get this error because like somewhere down there circularity happened that couldn't resolve but they actually don't care because those two joints are never
going to reference each other so got a branch where I've switched up the way that the validator is doing some of the stuff with joins kind of fundamentally under the hood to focus on only trying to validate things together if they appear in a topic or if one of the views actually has a field that references the other view so here we've got the same joins but no error um and to prove that it didn't just work by like deleting the validation right so now I have this topic where I actually go use that join if I un Comm it I get the same error again because now it's like there's this circularity thing and I don't don't know what to do um but that's
the so yeah that that was small thing basically the customer hits thing is when a customer hits that and then they just have this errow they can't get rid of you kind of gota go fix it um then the other