You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define an alias type that resolves to another alias type that resolves to a primitive that defines PLAIN serialization (for example, rid)
Generate Go code
The generated code for the alias of the alias does not define a String() method, which means that PLAIN serialization fails (it outputs the struct form of rid instead of the string representation)
What did you want to happen?
The generated code for the alias of the alias should generate a String() method that converts the receiver to the type it aliases and call String() on that type
The text was updated successfully, but these errors were encountered:
What happened?
rid
)String()
method, which means that PLAIN serialization fails (it outputs the struct form ofrid
instead of the string representation)What did you want to happen?
String()
method that converts the receiver to the type it aliases and callString()
on that typeThe text was updated successfully, but these errors were encountered: