Repository navigation
no error message when reading an incorrect structure of a collection … - #2072
Merged
Conversation
xuzhg
approved these changes
Jun 16, 2021
Contributor
|
@ElizabethOkerio Test(s)? |
ElizabethOkerio
force-pushed
the
fix/no_deserialization_error_when_json_body_contains_a_primitive_value_instead_of_a_collection_of_entities
branch
2 times, most recently
from
June 22, 2021 08:17
2c460e0 to
7c331a5
Compare
ElizabethOkerio
force-pushed
the
fix/no_deserialization_error_when_json_body_contains_a_primitive_value_instead_of_a_collection_of_entities
branch
from
June 22, 2021 12:55
e1ab308 to
4f629ca
Compare
|
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…of entities
Issues
This pull request fixes issue #2071 .
Description
If we have such a model:
Then a HTTP POST request to create a
ProductFamilythat demonstrates the bug has this POST Body:The above request body creates a ProductFamily successfully instead of returning a BadRequest
Briefly describe the changes of this pull request.
Checklist (Uncheck if it is not completed)
Additional work necessary
If documentation update is needed, please add "Docs Needed" label to the issue and provide details about the required document change in the issue.