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
Align readMany
and readByQuery
in SDK
#11187
Comments
The real issue here is that the SDK isn't aligned with the internal services from Directus itself at the moment. We should split up |
readMany
and readByQuery
in SDK
I fully agree that thats the underlying issue. but the immediate issue here is that the docs and code are out of sync. |
@br41nslug Wanna shoot a quick PR to those docs? 🙂 |
Damnit i hate writing docs 🤣 but sure i'll give it a go |
I am not sure if this is the right approach. |
To me, that actually makes sense. If you have people that are writing both extensions, and use the SDK on their own projects, this consistent naming system with different type signatures is very confusing! |
Preflight Checklist
Describe the Bug
The current javascript sdk documentation still refers to the
readByQuery
function on the ItemsService which judging from the code was merged into thereadMany
function.The text was updated successfully, but these errors were encountered: