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
then I got generated code with consts, like const SchemaValuesA1 SchemaValues = "1" which can be accessed outside the package so that it's more convinient than convert int to SchemaValues type.
Say we have this schema
The following generated codes only contains type with no int const, say,
const SchemaValuesA1 SchemaValues = 1
,Generated code
If I replace int values by string values, like this
then I got generated code with consts, like
const SchemaValuesA1 SchemaValues = "1"
which can be accessed outside the package so that it's more convinient than convertint
toSchemaValues
type.Generated code
The text was updated successfully, but these errors were encountered: