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

Implement a feature support check for clients to allow pre-emptively querying for supported methods #35

Open
danegsta opened this issue May 17, 2022 · 2 comments

Comments

@danegsta
Copy link
Contributor

We should consider adding support for clients to pre-emptively check if a client supports a given method rather than depending on not supported exceptions as we may need/want to pre-emptively enable or disable UI/features based on what the user's selected client supports.

@bwateratmsft
Copy link
Contributor

Can we use Decorators for this in some capacity? e.g. a utility method to see if a function on an object has an "ICantDoThatDave" decorator.

@danegsta
Copy link
Contributor Author

danegsta commented Jun 9, 2022

There hasn't been a JavaScript project I've worked on where I haven't eventually gone mad with power and used decorators for metaprogramming, so I'm fully on board with this idea.

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