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

Unable to set postSearch option in angular #200

Open
adaneam opened this issue Aug 27, 2024 · 1 comment
Open

Unable to set postSearch option in angular #200

adaneam opened this issue Aug 27, 2024 · 1 comment

Comments

@adaneam
Copy link

adaneam commented Aug 27, 2024

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.

image

As you can see data type for options is RequestInit.

Steps to Reproduce the Problem

  1. Use fhir-kit-client in angular app. I tried with ng18.
  2. Try to set postSearch option in search method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@adaneam and others