-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Using a service as a router resource #15742
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
b6b2cc8
Adding a new route loader that is able to load routes from a service
weaverryan 423f6b0
Registering the route loader as a service
weaverryan ca1229f
fabbot!
weaverryan cf7af64
Moving the ServiceRouteLoader stuff into the Routing component as an …
weaverryan 5d34c96
Some tweaks thanks to @jakzal
weaverryan c129cdd
Hinting against the interface
weaverryan 8440be2
Adding the entire class hierarchy as a resource
weaverryan 2bb0adc
Fixing typo
weaverryan ee90412
Fixing comment typo
weaverryan de4143a
Fixing test - bad mock
weaverryan eb47a69
Fixing bad mock of "abstract" class
weaverryan 3cb24eb
Changing this to be an abstract ObjectRouteLoader
weaverryan e431fc7
Adding a ServiceRouterLoader that works with the DependencyInjection …
weaverryan 43e9ad2
Renaming abstract method and going back to the key "service" as the type
weaverryan 7ed22ce
fabbot
weaverryan 6b0a5c6
Updating ObjectRouteLoader to use a service_id:methodName format
weaverryan a4af474
updating CHANGELOG
weaverryan a2cb797
Fixing missing gettype
weaverryan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fabbot
- Loading branch information
commit 7ed22ce5fe04ab2fd3918e28b08819b9803e5a6e
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
We could remove the RouteLoaderInterface and instead have this method return a callable.
The difference would then be that we'd probably need to include the method name in the "resource" when using this:
That would solve the need for the RouteLoaderInterface on the "Micro" kernel.