You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I try to replicate the same call in smart-swift, I get an Error in my client application.
I am using this call: let search = Media.search(["modality":["$text": type],"_summary": "count"])
and I get the following Error in the Xcode Debugger:
ERROR
Optional(Failed to validate resource: Bundle.type: mandatory property “type” is missing)
When I call: print(search.construct()) the generated call is the same I used in postman:
Media?_summary=count&modality:text=Sonstige
To me, it looks like swift-SMART can't handle the server response, because the returned Bundle does not have a resource type, but this type of search does in fact not have one.
Is there an other way to use the _summary - search modifier in swift-SMART?
The text was updated successfully, but these errors were encountered:
I have a Server running with a couple of images on it. When I run the following code with postman:
I am shown the amount of images I have with the modality:text=Sonstige
But when I try to replicate the same call in smart-swift, I get an Error in my client application.
I am using this call:
let search = Media.search(["modality":["$text": type],"_summary": "count"])
and I get the following Error in the Xcode Debugger:
When I call:
print(search.construct())
the generated call is the same I used in postman:To me, it looks like swift-SMART can't handle the server response, because the returned Bundle does not have a resource type, but this type of search does in fact not have one.
Is there an other way to use the _summary - search modifier in swift-SMART?
The text was updated successfully, but these errors were encountered: