Skip to content

Conversation

@rjlohan
Copy link
Contributor

@rjlohan rjlohan commented Aug 4, 2020

This fix allows the contract tests to correctly assert on writeOnlyProperties being removed from the model.

Issue #, if available: N/A

Description of changes: Contract tests were reporting false negatives for the redaction of writeOnlyProperties. Minor refactoring so that the testEntrypoint also sanitizes the model by default.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This fix allows the contract tests to correctly assert on writeOnlyProperties being removed from the model.
@rjlohan rjlohan self-assigned this Aug 4, 2020
Copy link
Contributor

@johnttompkins johnttompkins left a comment

Choose a reason for hiding this comment

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

This all looks to be good, but I think we should look into just removing the test entrypoint altogether since we have a synchronous response protocol now with the v2 protocol version. Would ease the pain of maintaining these two entrypoints.

@rjlohan
Copy link
Contributor Author

rjlohan commented Aug 4, 2020

This all looks to be good, but I think we should look into just removing the test entrypoint altogether since we have a synchronous response protocol now with the v2 protocol version. Would ease the pain of maintaining these two entrypoints.

Yeah that makes sense.

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.

3 participants