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

ApiResource useless for some requests #99

Closed
theluk opened this issue May 4, 2016 · 4 comments
Closed

ApiResource useless for some requests #99

theluk opened this issue May 4, 2016 · 4 comments
Milestone

Comments

@theluk
Copy link

theluk commented May 4, 2016

For example

  1. Template preview. You cannot use the unwrapped template apiresource, because it should be a post and create function does not support $resourcePath. The only workaround is setting the endpoint explicitly and then resetting it
  2. All api POST and UPDATE calls that expects a query string parameter, as the ApiResources create and update functions simply omit the query string option.
@theluk
Copy link
Author

theluk commented May 4, 2016

even a custom class extending ApiResource is not possible as you declared the callResource as private ... -.-

i hoped the migration from mandrill would be a little bit more easy, but it breaks at the most basic tools...

@richleland richleland added this to the v2.0.0 milestone Jun 20, 2016
@richleland
Copy link
Contributor

The work we are doing in the 2.x branch will address this issue.

@richleland
Copy link
Contributor

Handled in 2.x branch via #121 and #122.

@richleland
Copy link
Contributor

2.0 has been released: https://packagist.org/packages/sparkpost/sparkpost

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants