-
Notifications
You must be signed in to change notification settings - Fork 83
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
Added missing segments API calls (v11) #178
Conversation
As discussed in #172 we should start with request payload objects and static analysis instead of data resolvers in a forward compatible way and then deprecate the old apis :) |
How do we validate payload objects? Via phpdoc ? |
Yes, with SA tools, so no overhead on runtime perf :) |
Ok I'll try |
Instead of direct arrays add an payload object so users instantiate it and get autocomplete for available methods :) |
@norkunas check it out now if that's it |
aha I see... you mean with some sort of DTO? |
Yes ;) |
@norkunas how about now? i'll just fix the fixer erros if that's ok |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks better 😉
good 💪 now tests, after this PR will try to spend time on this also :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you squash all commits? :)
Can't you do that on merge? Also, I still have to write test for "Create segment" method. |
Thank you :) now will need to add remaining apis and deprecate old ones for a new release |
Yes. Bit by bit... :) |
true :) |
will you trigger a new release soon? |
Wont do partial releases for now |
If you need you can always use dev branch in composer json :) |
Hi,
In addition to my previous work, this one adds a new "Segments" API calls for Create, List and Delete actions.