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

Disable registering of ResponseServiceProvider #72

Closed
niknetniko opened this issue Sep 15, 2015 · 2 comments
Closed

Disable registering of ResponseServiceProvider #72

niknetniko opened this issue Sep 15, 2015 · 2 comments

Comments

@niknetniko
Copy link

On line 15 of the ApiGuardServiceProvider there is this line:

$this->app->register('EllipseSynergie\ApiResponse\Laravel\ResponseServiceProvider');

However, I already use the api-response package for other api methods that don't need guarding. Since I want to use the JSON:API specification, I had made a custom ResponseServiceProvider for api-response, as instructed here.

My question is if it would be possible to provide a way to not register the ResponseServiceProvider. Perhaps include an option to define if the ResponseServiceProvider should be included or not?

@chrisbjr
Copy link
Owner

Hi @niknetniko sorry for the super duper late response. Have you found any way around this? Closing this issue for now.

@niknetniko
Copy link
Author

No problem :)

I just use the api-response package bundled with api-guard, which works
fine for me.
Op 24 mrt. 2016 4:35 p.m. schreef "Chris Bautista" <notifications@github.com

:

Hi @niknetniko https://github.com/niknetniko sorry for the super duper
late response. Have you found any way around this? Closing this issue for
now.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#72 (comment)

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