-
Notifications
You must be signed in to change notification settings - Fork 3k
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
auto-patching operators: Fixes and updates #1097
Conversation
Let me do some more tests before merging it. ;) |
Suuuuure. Is this PR closes issue completely which includes injecting comments also? |
@kwonoj Not yet. I'll add some commits injecting the comments. |
bd43025
to
a9d7ac4
Compare
@kwonoj Now it's complete. ;) |
@@ -57,19 +58,26 @@ const AliasMethodOverrides = { | |||
}; | |||
|
|||
function generateNewOperatorFileContents (op:OperatorWrapper): OperatorWrapper { | |||
var header = `/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can these variable can be const
? I know it's script and not for actual codebases though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I'll change this one. I did not touch the others because they're not related to the patch.
a9d7ac4
to
ce8ec03
Compare
@kwonoj Just updated the PR addressing you comments. |
I think change's good, thinking which changes should be checked in first between #1077 and this. Still need some comment update from those PR regarding patch operators. |
I think it doesn't make a difference which one gets merged first. If it is necessary to keep the change regarding the patch operators on #1077, it will require a separate PR to change the generator script. |
: Yes I agree, just work order in my preferences :) |
Given the size of #1077, maybe it would be better to merge it first as is. Then I can rebase and update this PR. |
I'll update this PR as soon as #1091 gets merged. |
@luisgabriel , PR #1091 's checked in to allow this PR can be updated. Thanks for take care of those. Let me mark as blocked for now to avoid possible confusions. |
Thanks, @kwonoj! I'll rebase and update this PR tomorrow. |
There is no `extended` directory anymore. Now, in order to check if an operator is extended we check if it's declared in KitchenSink.
After ReactiveX#1010, the script that generates the operator patches was not updated to include the typescript hack that was manually added to the generated files in the codebase.
ce8ec03
to
5e43f14
Compare
Just updated this PR. Now it includes also |
Merged with 5e43f14, appreciate for effort @luisgabriel :) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Closes to #1030.