# January 12, 2026

## 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.