Add Configurable EntityContainer instead of always using basic#66
Conversation
…ls back to `EntityContainer#basic()` if unspecified
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAPIConfig gains EntityContainer configuration support through a new private field, fluent setter method, and nullable getter. AbstractEntityLibAPI's constructor now retrieves the configured container from APIConfig settings and falls back to a basic container when none is provided. ChangesEntityContainer Configuration and Initialization
🎯 2 (Simple) | ⏱️ ~8 minutes
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The AbstractEntityLibAPI would constantly use the basic implementation of the EntityContainer. This PR allows developers to specify another one, and track entities themselves.
If a custom EntityContainer is not provided, it'll simply default to the basic implementation, keeping backwards compatibility.
Summary by CodeRabbit