> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 1.22.5

**`(fix):`** 修复针对文字类型的可选别名的动态代码片段问题。之前，生成器会产生无效的 Go 代码，如 `&SortField("DEFAULT")`，这会尝试获取类型转换的地址。现在它正确使用原始类型的指针辅助函数（例如 `fern.String("DEFAULT")`）来处理可选文字别名。