fhir-kit-client
fhir-kit-client copied to clipboard
Unable to set postSearch option in angular
Expected Behavior
Allows setting 'params.options.postSearch' in angular apps.
Actual Behavior
Somehow when you use this library in angular, the type for options param is changed to RequestInit. This creates problem as you cannot set the postSearch option as it is not a property of RequestInit type. Following is the screenshot of code you can see when you do F12 on search method in angular client code.
As you can see data type for options is RequestInit.
Steps to Reproduce the Problem
- Use fhir-kit-client in angular app. I tried with ng18.
- Try to set postSearch option in search method