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

[FEATURE] web-sdk: Access to provider status inside the provider #893

Open
thomaspoignant opened this issue Mar 29, 2024 · 5 comments
Open
Labels
enhancement New feature or request

Comments

@thomaspoignant
Copy link
Member

Requirements

With the web-sdk v1.0.0, the provider status is now managed directly by the SDK which is great, but there are some usecases when it will be interesting to have access to the provider status inside the SDK.

One of the use cases I have is being able to send a CACHED reason when the provider is STALE.

@thomaspoignant thomaspoignant added the enhancement New feature or request label Mar 29, 2024
@thomaspoignant thomaspoignant changed the title [FEATURE] Web-sdk: Access to provider status inside the provider [FEATURE] web-sdk: Access to provider status inside the provider Mar 29, 2024
@weyert
Copy link
Contributor

weyert commented Mar 29, 2024

Totally agree with this, probably worth doing a spec update for this?

@thomaspoignant
Copy link
Member Author

Totally agree with this, probably worth doing a spec update for this?

Not sure what the others think but it could be a great idea to spec it.

@toddbaert
Copy link
Member

You mean read-only access, I guess based on your use-case? I think I could be convinced of that. 🤔

@thomaspoignant
Copy link
Member Author

You mean read-only access, I guess based on your use-case? I think I could be convinced of that. 🤔

Yes read-only, I don't need to change the status but I need to have access to it.

@beeme1mr
Copy link
Member

beeme1mr commented Apr 2, 2024

It might be slightly complicated to get the status due to domains. Perhaps we should quickly prototype it to see how it could be implemented and then used in a provider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants