-
Notifications
You must be signed in to change notification settings - Fork 472
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
Add capability checks for operations #1752
Comments
Hi @Xuanwo, I'd like to explore and implement this feature, can I take it? |
Thanks a lot! Let me add more context for this issue. |
Sounds great. I will file a draft PR first, and continue to work on it once the design is confirmed by reviewers. |
The whole story is not yet finished, we still need this issue to track strict mode. @Xuanwo could you reopen it? |
Hi, @unixzii, Test for gcs failed https://github.com/apache/incubator-opendal/actions/runs/5280208287/jobs/9551992175 Would like to take a look? Thanks in advance. |
Already fixed in #2467 |
Not needed as till not, let's close. |
In #2060, we added a new concept of
Capability
in operator. So far, we only do checks during integration tests.In fact, we can do this check in
CompleteLayer
.Before we start any operation, we should check the
Capability
first. If not supported, we should return an unsupported error directly.Tasks
Operator
strict
enabled, return unsupported error if the arg is not supportedThe text was updated successfully, but these errors were encountered: