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
I wanted to switch the default formatter to YARD and from what I see bigint columns are not interpreted correctly
bundle exec annotate --models --show-foreign-keys -f yard
Please notice the @return [] part
@return []
--- a/app/models/team.rb +++ b/app/models/team.rb @@ -4,23 +4,40 @@ # # Table name: teams # -# id :bigint not null, primary key -# name :string -# organization_id :bigint not null +# @!attribute id +# @return [] +# @!attribute name +# @return [String] +# @!attribute organization_id +# @return []
for bigint columns(id, organization_id) I believe it should be the following instead:
+# @!attribute id +# @return [Integer] +# @!attribute organization_id +# @return [Integer]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I wanted to switch the default formatter to YARD and from what I see bigint columns are not interpreted correctly
Commands
Before/after switching to YARD format
Please notice the
@return []
partExpected behavior
for bigint columns(id, organization_id) I believe it should be the following instead:
Version
The text was updated successfully, but these errors were encountered: