-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
I have upgraded webapi hal package from 3.0.0 to 4.0.1. In the application when i initiate search call with keyword not available in list (for example: when i search for user name not available) in existing 3.0 package i get response without embedded list. But after upgrading to 4.0.1 when i initiate same call getting response with embedded which makes application crash. Is there any way to ignore embedded list if list is empty for latest version.
sample old response :
{
"TotalRecords": -1,
"TotalDisplayRecords": -1,
"_links": {
"self": {
"href": "/api/roles"
}
}
}
sample new response :
{
"TotalRecords": -1,
"TotalDisplayRecords": -1,
"_links": {
"self": {
"href": "/api/users"
}
},
"_embedded": {
"unknownRel-": []
}
}
Metadata
Metadata
Assignees
Labels
No labels