-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
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
proposal for a new folder for adapters, serializers and transformers #38
Comments
data-store would be a better name i guess. |
I like the idea :) |
By default we use the generic App = Ember.Application.create({
Resolver: Resolver, // imported
adapterPrefix: 'app/data-store',
serializerPrefix: 'app/data-store',
transformPrefix: 'app/data-store'
}) In general I agree that these things should be lumped together, but I would prefer to use the extension points for this customization for now. |
@rjackson ah now i got the + 'Prefix' thing. i'm totally ok using the prefixes. |
👍 on the default in ember-cli. The way I see it: we make this resolver maximally flexible, and give good defaults in consumer projects (like EAKR/EAK and ember-cli). This seems to fall in line with "The Ember Way". |
Allow package to be usable via npm
i would like to put adapters, serializers and transforms under one directory. i think they belong together and shouldn't be cluttered around in app/
let's say
app/data
. the folder layout would be:it would require to add 4 lines of code and shouldn't affect the resolver:
@rjackson @stefanpenner what do you think?
The text was updated successfully, but these errors were encountered: