Closed ahassany closed 1 month ago
Hi @ahassany
Thanks for the report. The issue is the same as with the #203: the IpAddr type is not self-describing, i.e., you need to know it's an IP addr to supply the correct data. You could use from_samples
or use from_value
to describe the schema yourself.
I will add IpAddr
to the growing number of types not supported by from_type
.
I also need to figure out a better error message for from_type
so it's clear from the error how to debug it.
Thank you @chmp for the clarification, I imagine it's hard to chase down every single type. Definitely a more informative error message would be in the right direction.
I've tried the following code, but I got strange error. I don't have enough experience with the echo system to tell if this is a bug or not.
And the error I got: