[WIP] Add deprecate notes#40
Conversation
0f3e9cd to
f82317f
Compare
|
@stephane-monnot I believe we should keep |
|
Yes, but maybe rename |
|
@hootlex Could you valid the roadmap ("new method" checklist above) for deprecated notes and answer the "only 1 way" questions please ? |
|
By keeping the current About '1 way', I agree. They should work how they used to work to avoid confusion. |
|
Yes, but I'm a little confused about friendships and friends. |
|
Keep the |
|
@stephane-monnot let me know when this is ready to merge. |
|
I have to implement new methods because we can't mark methods as deprecated without alternatives. |
…ed public "friends" method
f82317f to
e260fb3
Compare
|
@hootlex Could you work on this PR and :
I can work a little on this PR this month, but I don't have time as before, because I'm teaching in a school. |
|
@stephane-monnot I am very happy to hear that. 😄 I don't have a lot of time now too because I am working on my Vue.js book. Though, I expect to start working on this upgrade next month. Also, I will create a Gitter channel to be able to discuss about the package. |
Improve display of deprecated errors:
Method to deprecate:
Fix all deprecated errors for the build:
Add more details about new methods in deprecated notes:
@deprecatedcommentsNew methods (lazy getters = return a collection of model, a model instance or a integer for count method):
FriendRequests
getFriendshipbecomegetFriendRequest(only 1 way ?)getAllFriendshipsbecomegetFriendRequests(only 1 way ?)getPendingFriendshipsbecomegetPendingFriendRequests(only 1 way ?)getAcceptedFriendshipsbecomegetAcceptedFriendRequests(only 1 way ?)getDeniedFriendshipsbecomegetDeniedFriendRequests(only 1 way ?)getBlockedFriendshipsbecomegetBlockedFriendRequests(only 1 way ?)getFriendsModel (ex: User)
getMutualFriendsgetMutualFriendsCountgetFriendsOfFriendsgetFriendsCount