Open aosasona opened 11 months ago
It should be able to generate the right types for custom types without a tag as long as they implement the CustomType interface.
CustomType
IsOptional is used to check if the type is optional by default, can be overwritten by the tag
IsOptional
func IsOptional() bool
TypeString returns the value type in string
TypeString
func TypeString() string
In all these cases, the tag will still take precedence as long as it is present
It should be able to generate the right types for custom types without a tag as long as they implement the
CustomType
interface.IsOptional
is used to check if the type is optional by default, can be overwritten by the tagTypeString
returns the value type in stringIn all these cases, the tag will still take precedence as long as it is present