Repository navigation
Detecting lifecycle - #2180
Detecting lifecycle#2180
Conversation
|
I don't think this "Closes #2120", more discussion needs to happen there ? |
921f29f to
be71672
Compare
|
@vicb The OnChange interface is already in master. This PR does not change the name. What else apart from names require the discussion? |
|
The structural type check for JS ? |
be71672 to
4394394
Compare
|
Misko and I talked about it yesterday and decided on that. This is the only way to do checks in JS, and you can always override the behavior using the lifecycle property in the annotation. Do you think this will be confusing? |
|
Why don't we drop the lifecycle property then ? (keeping both is confusing IMO). |
|
We need to be able to detect this info statically. If you add onChange reflectively, then you need a way to tell Angular that onChange will be there. |
4394394 to
6eba14b
Compare
|
LGTM when Travis is green. |
a9ff18a to
ebefd7e
Compare
ebefd7e to
09af57c
Compare
09af57c to
30b6542
Compare
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Closes #2120
/cc @yjbanov
This PR contains only the reflective version of the feature. @kegluneq will have to update the transformer to update the registered type info after this PR is merged. I use the same reflector object, so I hope it won't be very difficult.