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
Is your feature request related to a problem? Please describe.
Hi wailsapp developers,
is there any way to overwrite the generated typescript type in models.ts? I have a custom struct in go and I have fulfilled json.Marshaler json.Unmarshaler interface. However there is no way to tell wails to mark it as string.
Describe the solution you'd like
I would suggest adding a struct field tag, for example,
This discussion was converted from issue #5045 on March 15, 2026 09:25.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Hi wailsapp developers,
is there any way to overwrite the generated typescript type in
models.ts? I have a custom struct in go and I have fulfilled json.Marshaler json.Unmarshaler interface. However there is no way to tell wails to mark it as string.Describe the solution you'd like
I would suggest adding a struct field tag, for example,
Describe alternatives you've considered
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions