Skip to content
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

postman: Implement request deserialization #4777

Merged
merged 1 commit into from Aug 15, 2023

Conversation

VitikaSoni
Copy link
Contributor

Overview

  • Renamed AbstractItemDeserializer to ListDeserializer and made it usable for subclasses of the newly created AbstractListElement class
  • Created a new ObjectDeserializer to ignore an object when its signature doesn't match, rather than throwing an exception
  • Created the necessary model classes to deserialize the request
  • Upgraded the Jackson version

Related Issues

zaproxy/zaproxy#6960

Checklist

  • Update help (N/A)
  • Update changelog (N/A)
  • Run ./gradlew spotlessApply for code formatting
  • Write tests
  • Check code coverage
  • Sign-off commits
  • Squash commits
  • Use a descriptive title

@VitikaSoni VitikaSoni force-pushed the req-des branch 2 times, most recently from 2de0c41 to 17d9c1a Compare August 1, 2023 14:56
Copy link
Member

@kingthorin kingthorin left a comment

Choose a reason for hiding this comment

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

A few small things, LGTM overall.

@VitikaSoni VitikaSoni force-pushed the req-des branch 2 times, most recently from 4c29274 to 6270f8a Compare August 3, 2023 17:46
@VitikaSoni
Copy link
Contributor Author

This is ready 🙂

@VitikaSoni VitikaSoni force-pushed the req-des branch 2 times, most recently from 51f06e8 to ae1db91 Compare August 15, 2023 17:50
@VitikaSoni
Copy link
Contributor Author

Done 🙂

- Renamed AbstractItemDeserializer to ListDeserializer and made it usable for subclasses of the newly created AbstractListElement class
- Created a new ObjectDeserializer to ignore an object when its signature doesn't match, rather than throwing an exception
- Created the necessary model classes to deserialize the request
- Upgraded the Jackson version

Signed-off-by: VitikaSoni <vitika.program@gmail.com>
@thc202
Copy link
Member

thc202 commented Aug 15, 2023

Thank you!

@thc202 thc202 closed this Aug 15, 2023
@thc202 thc202 reopened this Aug 15, 2023
@thc202
Copy link
Member

thc202 commented Aug 15, 2023

You will have to push again, some of the checks are stuck.

@kingthorin kingthorin merged commit c51b77e into zaproxy:main Aug 15, 2023
17 checks passed
@thc202
Copy link
Member

thc202 commented Aug 15, 2023

Did they pass in the meantime?

@kingthorin
Copy link
Member

Yes it was all green when I got here 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants