yii2-gii icon indicating copy to clipboard operation
yii2-gii copied to clipboard

Fill in class and property documentation based on Database Comments

Open michaelarnauts opened this issue 8 years ago • 3 comments
trafficstars

Q A
Is bugfix? no
New feature? yes
Breaks BC? no
Tests pass? yes
Fixed issues #131,

Depends on https://github.com/yiisoft/yii2/pull/13162 for table comments.

I'm not sure if there has to be an option to enable this. This is just for comments, and doesn't have an impact on functionality or code.

michaelarnauts avatar Dec 08 '16 10:12 michaelarnauts

What has kept this pull request from being merged? (It seems that is has gotten conflicts in the meantime). Can this be accepted when the conflicts are resolved?

michaelarnauts avatar Feb 02 '17 12:02 michaelarnauts

To recap, this doesn't change any code or changes the model in any way. It just makes sure that db comments are added to the phpdoc, so any IDE can use this to give additional information about the property or table object.

michaelarnauts avatar Feb 02 '17 12:02 michaelarnauts

I have merged the property comment part, thank you! Keeping this open for the class comment when it is supported in the framework.

cebe avatar Feb 02 '17 22:02 cebe