I’m using a custom unmarshaler in my code for dedicated types, in case of error my code was returning a json.UnmarhsalTypeError
This allowed to retrieve field name where the error occured in case the dedicated type was used within a structure Since I migrated to go1.11, my code do not allow to retrieve field name anymore (was Ok in go1.10.3) Looking at new version of decode.go I could not find an easy workaround to this behavior change To describe more precisely the issue I'm seeing :here is a simple playground sample that highlight behavior https://play.golang.org/p/AtX-5f5jWwS 4 <https://play.golang.org/p/AtX-5f5jWwS> I saw a few activity around a regression fix in https://github.com/golang/go/issues/27275 I did a quick tests on my side using the accepted chagne for the issue mentionned abobe and unfortunately this does not help Is this a regression or an unexpected behavior that dosappeared unfortunately ? Thanks -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.