Skip to content

Conversation

@rupeshtiwari
Copy link
Contributor

This is the fix to pass state and action sanitizer to redux dev tool extensions for #494.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 92.722% when pulling 99333d6 on roopkt:devtool-sanitizers into 2a22211 on ngrx:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 92.673% when pulling 99333d6 on roopkt:devtool-sanitizers into 2a22211 on ngrx:master.

@brandonroberts
Copy link
Member

@roopkt please fix merge conflicts and we'll land this PR.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 92.679% when pulling b08fc95 on roopkt:devtool-sanitizers into 2a22211 on ngrx:master.

@brandonroberts
Copy link
Member

brandonroberts commented Nov 14, 2017

@roopkt conflicts still remain. See the details from the failed tests

@rupeshtiwari
Copy link
Contributor Author

@brandonroberts I am still working on the merge. I have question when are we planing to review #524 pull request.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 92.679% when pulling 07c72ca on roopkt:devtool-sanitizers into ab5ad56 on ngrx:master.

@rupeshtiwari
Copy link
Contributor Author

Hey @brandonroberts
Finally merge happened successfully.

options.actionSanitizer = sanitizer;
expect(options.actionSanitizer).toEqual(sanitizer);
});
it('can be initialized with stateSanitizer', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a line in between these tests

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

function stateSanitizer(state: any, index: number): any {
return state;
}
options.actionSanitizer = stateSanitizer;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be stateSanitizer?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

function myActionSanitizer() {
return { type: 'sanitizer' };
}
function myStateSanitizer() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a line in between these functions

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 92.679% when pulling c49bdb8 on roopkt:devtool-sanitizers into ab5ad56 on ngrx:master.

@brandonroberts brandonroberts merged commit 6ed92b0 into ngrx:master Nov 16, 2017
@aboyton
Copy link

aboyton commented Nov 16, 2017

Thanks for doing (and merging) this. Are you planning on a patch release anytime soon with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants