Commit 468a6ce
CRITICAL FIX: Service Provider Inheritance System
Fixed inheritance bugs preventing field types from accepting attribute children:
1. TypeDefinitionBuilder.from() - Now copies ALL requirements (including inherited ones) instead of only direct requirements, preserving wildcard inheritance when service providers extend types
2. TypeDefinition.acceptsChild() - Fixed inherited wildcard filtering to check all inherited requirements instead of incorrectly filtering by name="*"
3. Wildcard requirement handling - Proper unique key generation for multiple wildcard requirements (attr.*, validator.*, view.*) prevents overwrites in Map storage
RESULTS:
✅ UnifiedRegistrySchemaIntegrationTest now passes (was failing on field inheritance)
✅ All 193 metadata tests pass
✅ All field types properly inherit wildcard attribute acceptance from field.base
✅ Service provider extensions preserve base type capabilities
✅ All modules compile successfully
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 8579409 commit 468a6ce
3 files changed
Lines changed: 56 additions & 8 deletions
File tree
- metadata/src
- main/java/com/draagon/meta/registry
- test/java/com/draagon/meta/registry
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
| |||
Lines changed: 46 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
204 | 246 | | |
205 | 247 | | |
206 | 248 | | |
207 | | - | |
208 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
209 | 252 | | |
210 | 253 | | |
211 | 254 | | |
| |||
0 commit comments