I need to be able to marshal into a slice of strings and to be able to specify the string types for the elements in this slice (is5, generalstring, etc) https://play.golang.org/p/l5id74lMoI
Issue seems to be two fold:
Validation does not allow it and you get the error: explicit string type given to non-string member
Strings would all be marshaled as the default type - PrintableString
When struct tags for string types are defined against a slice this should be accepted if the slice is of strings
The struct tag for the string type should be passed down to the marshaling of the members of the slice
The text was updated successfully, but these errors were encountered:
I was complaining about this on the internet and @FiloSottile asked me to open an issue and CC him. It seems there's already an issue though. Here's where I ran into wanting to include a utf8 tag on a string.