tapir
tapir copied to clipboard
Show precise errors for failed derivation for Pickler
Current behavior: When Tapir fails to derive a Pickler for a type because of missing Pickler for one of its fields, we show a compilation error pointing which field type failed derivation.
Expected improvement: It would be great to show the full path (like "breadcrumbs") of implicit resolution that led to the point of failed summoning. The user would have a better understanding of where exactly the issue happened. For deeper errors, we'd like to show something like
Failed to summon Pickler[example.Country] when deriving from example.Book > example.Author