2 ms·
Congrats on the big release! One thing which saddens me a lot though, is returning types you have to type assert because they had to avoid an import cycle. I d
by cube2222 7y ago
Congrats on the big release!
One thing which saddens me a lot though, is returning types you have to type assert because they had to avoid an import cycle. I don’t know if it could be avoided (probably not) but it’s still unergonomic.
> (Why the type assertion? Since the generated descriptorpb package depends on protoreflect, the protoreflect package can't return the concrete options type without causing an import cycle.)