> 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):`** Fix dynamic snippets for optional aliases to literal types. Previously, the generator
would produce invalid Go code like `&SortField("DEFAULT")` which tries to take the
address of a type conversion. Now it correctly uses the primitive's pointer helper
function (e.g., `fern.String("DEFAULT")`) for optional literal aliases.