-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
EnhancementNew feature or requestNew feature or request
Description
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,
type A struct {
B SomeStruct `tstype:"string"`
}Describe alternatives you've considered
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
EnhancementNew feature or requestNew feature or request