Skip to content

Conversation

@MarkVaughn
Copy link
Contributor

This is mainly copied from the AbstractGenerator however it allows the FormRequest to use dependency injection for the rules/validator methods

related to #133

@mpociot
Copy link
Owner

mpociot commented Dec 5, 2016

Thank you! Could you add a test for this?

setContainer(app())
dependency injection via app()->call()

Follow Style CI

Fix unrelated style

Use import

Style CI

Import

Style-ci
@MarkVaughn
Copy link
Contributor Author

@mpociot The method is protected and gets used in the GenerateDocumentationTest and the ApiDocGeneratorTest, those tests pass now.
Thanks!

@codecov-io
Copy link

codecov-io commented Dec 7, 2016

Current coverage is 89.48% (diff: 90.00%)

Merging #134 into master will decrease coverage by 0.13%

@@             master       #134   diff @@
==========================================
  Files             7          7          
  Lines           597        618    +21   
  Methods          47         48     +1   
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            535        553    +18   
- Misses           62         65     +3   
  Partials          0          0          

Powered by Codecov. Last update 2a001a4...fb38216

@mpociot mpociot merged commit bf6f464 into mpociot:master Dec 7, 2016
@mpociot
Copy link
Owner

mpociot commented Dec 7, 2016

👍

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

Successfully merging this pull request may close these issues.

3 participants