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

refactor(core): core doesn't expose invalid input error anymore #4632

Merged
merged 2 commits into from
May 21, 2024

Conversation

Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented May 21, 2024

InvalidInput is designed for oio::Read::seek only, but we don't provide seek API anymore. And I found some places use this error kind in wrong. This PR fixed them at the same time.

Signed-off-by: Xuanwo <github@xuanwo.io>
@Xuanwo Xuanwo merged commit 3c1ba71 into main May 21, 2024
245 of 246 checks passed
@Xuanwo Xuanwo deleted the remove-not-used-error-code branch May 21, 2024 08:43
George-Miao pushed a commit to George-Miao/opendal that referenced this pull request Jun 5, 2024
…he#4632)

* refactor(core): core doesn't expose invalid input error anymore

Signed-off-by: Xuanwo <github@xuanwo.io>

* Fix binding that exposes invalid input

Signed-off-by: Xuanwo <github@xuanwo.io>

---------

Signed-off-by: Xuanwo <github@xuanwo.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants