-
Notifications
You must be signed in to change notification settings - Fork 27
Service Locator Enhancement #860
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
Open
mgerzabek
wants to merge
12
commits into
flat3:5.x
Choose a base branch
from
pragmatiqu:ServiceLocator
base: 5.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
@mgerzabek could you rebase on 5.x, I fixed the issue with the tests. Thanks! |
- added missing type PropertyPath - added Identifier to Record - added missing Type attribute to Record - added alias to Identifier – including dirty hack to derive it from given namespace - added addReference to Lodata Facade to allow adding additional vocabularies to the model - added alias for all auto registered References
14256bc
to
012d259
Compare
@27pchrisl, I've rebased on 5.x and removed the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add Support for Modular OData Service Endpoints
This PR introduces a powerful mechanism for defining modular, multi-endpoint OData services in Laravel when using
flat3/lodata
. It enables a clean and scalable way to expose different domains or bounded contexts under separate OData endpoints, each with their own$metadata
and query surface..idea
(personal) project files not all ignored #742Key Features
config/lodata.php
)/odata/{key}/...
)$metadata
discover()
method for dynamic schema registrationcachedMetadataXMLPath()
discover()
is only invoked on-demandImplementation Overview
config('lodata.endpoints')
)$endpoint->cachedMetadataXMLPath()
) to support arbitrary annotationsDocumentation
For a detailed overview of the architecture, configuration, and usage of modular service endpoints, please refer to the comprehensive documentation accompanying this pull request.
Benefits
Notes
This PR does not introduce breaking changes. Existing single-endpoint behavior remains the default. If
config('lodata.endpoints')
is empty, the global service continues to be served as before.Let me know if you'd like this split into smaller commits or if you'd prefer to review feature-by-feature. Thanks for the great base package! 🙌