jsduck icon indicating copy to clipboard operation
jsduck copied to clipboard

Create api doc for model associations

Open marcojahn opened this issue 14 years ago • 3 comments

It would be nice to have association dependencies automatically created within API doc.

Currently we have implemented a custom tag but I think it would be nice to have associations documented in an automatic way

In my custom tag implementation it looks like this (output):

Associations

  • hasMany AssociationName
    package.App.model.AssociationClassName

marcojahn avatar May 31 '12 09:05 marcojahn

Related to #113 and somewhat to #184.

I'll think about it after the new JavaScript parser gets fully integrated.

nene avatar May 31 '12 09:05 nene

This would be very beneficial for us as well. We have one associations array which contains multiple HasMany configurations and it would be very nice to be able to comment each one.

TMcKinley avatar Jul 09 '13 14:07 TMcKinley

+1 I'd like to see a proper Model association documentation handling as well.

Even more beneficial would be a graphical representation of all models and their associations (e.g. via ERM or UML graph as SVG)

valioDOTch avatar Jul 16 '14 07:07 valioDOTch