-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Computed values : seed.config #1429
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
Comments
Yes, this is an important issue. What do you think about the decorator proposed by #968? Maybe |
@lifaon74 let's use |
I dont realy have time, if you don't have too, maybe I'lll take a full evening and do it. As you want. |
I played with this task today. The
Here is |
Hum,
Another solution: what about a json config file ? Read by seed.config.ts which will extends its own attributes ? And then no more |
@lifaon74 yikes! i actually dig that idea of the .json config file! Reminds me of |
I re-open #968 because it's for me (and propably many users) still an important problem.
I work on windows 10, and computed values bother me a lot. Why :
SYSTEM_BUILDER_CONFIG.packages
.APP_CLIENT
,APP_SRC
are used to compute other attributes into seed.config.ts, so we can't edit it properly into project.config !The consequences: everytime I pull ng2-seed (I do it frequently because I love your work), I have to merge the seed.config file and take care of any changes :(
A solution, as discussed into previous posts, could and should be to wrap all attributes into an init method called from the constructor of project.config.
Something like :
I sincerely hope, it will not be closed until resolved. Thanks.
The text was updated successfully, but these errors were encountered: