{"version":"1.0","type":"rich","title":"Gist 58556979e4df23eb7277","description":"The example shows an Ecto schema relationship between a T-shirt store’s `Product` and `Category` modules, where each product belongs to a category and each category has many products. It demonstrates a common data-fetching pattern using `Product |> Repo.get!(id) |> Repo.preload(:category)` to load a product with its associated category. However, the code fails at runtime because the `Ecto.Queryable` protocol is not implemented for the `TShirtStore.Category` struct, revealing a mismatch between the expected queryable behavior and the actual category module definition. The visualization highlights the error that occurs when preloading a belongs-to association.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-58556979e4df23eb7277?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}