T125warning

Attribute value is not text

A dynamic attribute's value has no defined text form.

Without String or MarshalText, Go's default formatting is used, which is rarely what you want in HTML. It is also reported for p-timeline outside .pkc files, where it is not supported.

Implement fmt.Stringer or encoding.TextMarshaler on the type, convert the value to a string, or use a server. attribute if it is only needed on the server.

$ piko explain T125

Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodeAttributeTypeError in Piko's source to see where it is reported.