We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code from version v0.21.0 will never allow for index; tag to be generated:
v0.21.0
index;
if len(tag.Index) > 0 { if tag.GetIndex() == "" { gormRes += "index;" } else { gormRes += fmt.Sprintf("index:%s;", tag.GetIndex()) } }
Same holds for the unique_index;.
unique_index;
The code should allow encoding three states:
Currently it only allows index with name and no index variants. This is regression from previous version (v0.20.1).
Looking into GormTag proto message definition, it looks like it is not using optional anymore.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This code from version
v0.21.0
will never allow forindex;
tag to be generated:Same holds for the
unique_index;
.The code should allow encoding three states:
Currently it only allows index with name and no index variants. This is regression from previous version (v0.20.1).
Looking into GormTag proto message definition, it looks like it is not using optional anymore.
The text was updated successfully, but these errors were encountered: