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 for SOLID compliance - Breaking on getAllIndexes
(method return) and Index
class (renamed into Indexes
)
#43
Conversation
…rom passing null values to a string
…well compared to arrays
…ed to handlesSystem trait
bbcc440
to
228fe40
Compare
Hello @ppshobi! Nice to see you again!! 😄 Another question: how does this refactor impact the usage of the package? In other word: what would be the new Getting Started (if there is any changes)? 🙂 |
The getting started would not change at all. Only the
Ah, sorry. I think this PR is ready to review. Please take a look |
Great!! Thanks a lot! But it is a breaking change on I check your PR on Monday @ppshobi! 🙂 |
getAllIndexes
)
getAllIndexes
)getAllIndexes
)
5d60220
to
7bcbc94
Compare
7bcbc94
to
136b770
Compare
Hi @Guikingone , If you can please resolve the conversations as appropriate. @curquiza The tests are failing due to a recent release from yesterday (25-jun-2020), due to which some endpoints are not returning values as expected. Maybe meiliearch-core have changed the public api, in that case we need to update the tests. Can you confirm the failing tests from the CI logs? |
@Guikingone usually @curquiza sqaush them while merging. Thanks for your comments |
FYI: the tests are currently failing because of:
|
Hello guys!! Thanks again for PR again! I approved it.
Thanks again for your review! I can see you plan to do some changes to this repo 🎉 Feel free to open an issue an start a PR 🙂 Your contribution would be really appreciated! Also, as you plan to do the symphony integration, here are some useful links:
Thanks again guys! A huge work has been done here! |
Great. Thank you :) So regarding those traits. Previously all these methods were together inside the Index class or HttpRequest Class separated by comments. So initially what I have done is creating traits with names related to their functionality and put related methods in them instead of being separated by comments. And I kept methods as it is to avoid any public api changes. so the methods inside Now it may be better to put them inside another sub directory Eg: |
Hello @ppshobi! |
…mplementation, it directly throws NetworkException when its unable to connect to meilisearch, so refactored the test a little as well
Rebasing done. @curquiza can you add a rule to phpcs for using camelCase variables? since all our variables are camelCased and let's prevent new PR's from having snake_cased variables. |
Ok, I thought the naming convention for PHP variables was |
No description provided.