-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
optimizationO(n^whoops)O(n^whoops)
Description
Severity / Priority
- Low
- Medium
- High
- Critical
Expected Behavior
Structure caching should allow configuring multiple directories, including Data objects located under the packages/ directory.
All Data / DTO classes inside packages should be discovered, reflected, and cached correctly, just like those under app/Data.
Current Behavior
Structure caching only works correctly for Data objects located in app/Data.
When Data classes are placed under packages///src/Data (or similar package-based structures), they are not discovered or cached, even when the directories are manually added to the structure_caching.directories configuration.
As a result:
- Reflection is still executed at runtime
- Structure caching is partially ineffective
- Performance optimizations are lost for package-based Data objects
Possible Solution
Allow structure_caching.directories to fully support package-based directory structures, or provide a documented way to:
- Automatically scan all installed packages for Data objects
- Or configure a wildcard-based directory resolution (e.g. packages///src/Data)
- Or rely on namespace-based discovery instead of strict directory paths
- Clear documentation or an example for multi-package setups would also help avoid misconfiguration.
Metadata
Metadata
Assignees
Labels
optimizationO(n^whoops)O(n^whoops)