irlnathan / sails-generate-scaffold

This is a generator for creating a scaffold (CRUD) for a Sails Project
MIT License
41 stars 26 forks source link

support for associations? #6

Open tjwebb opened 10 years ago

tjwebb commented 10 years ago

It looks like model associations are not yet supported. Is this feature on the roadmap?

Caligone commented 10 years ago

+1 I just discovered this generator and yep, the associations support is missing :(

I trIed to build something which could fix that, but it's a cross-repo issue. https://github.com/balderdashy/sails-generate-model may not allow other attribute than name and type...

marceloboeira commented 10 years ago

+1

grimabe commented 10 years ago

+1

spencerthayer commented 9 years ago

@Caligone do you have the code you used to fix this?

Caligone commented 9 years ago

I didn't fix it, as I said it is a cross repo issue and it is too complex for me