I am planning to move my Ember CLI application to the pod structure. Are there any limitations or disadvantages in the pod structure that I should be aware of?
Are there any limitations in using the pod structure in Ember CLI?
668 Views Asked by Info Seeker AtThere are 2 best solutions below
On
The current limitation that I'm facing at the moment is that there is no separate pods structure for ember-data. In my app not all models are strictly bound to one route. So it makes no sense to define the model alongside its route file.
So basically I have to define my models in the global models folder.
It would be nice if we could have multiple pods folders, so for example a data pods, where model, adapter and serializer could be grouped together.
This is also the case with global components which do not have a separate pods folder, but are defined under the pods folder alongside with all the route pods (which doesn't feel right at the moment, but this might change when we move to Ember 2.0 with routable components).
ember g ...ember-cli will do this for you.Other than that: We've switches our app to pods without any problems.