Repository navigation
fix(us-bf-026): rename ModelMetaData to ModelMetadata for consistent casing - #206
Merged
Merged
Conversation
…casing - Renamed class ModelMetaData<T> to ModelMetadata<T> in src/Models/ModelMetadata.cs - Updated IFullModel interface to use ModelMetadata<T> instead of ModelMetaData<T> - Renamed GetModelMetaData() method to GetModelMetadata() in IModel interface - Updated all 95 references across the codebase to use correct casing Resolves CS0246 and CS0535 compilation errors related to type name mismatch. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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
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.
Summary
ModelMetaData<T>class toModelMetadata<T>(lowercase 'd') insrc/Models/ModelMetadata.csIFullModelinterface to referenceModelMetadata<T>instead ofModelMetaData<T>GetModelMetaData()method toGetModelMetadata()inIModelinterfaceProblem
The codebase had inconsistent casing: the class was named
ModelMetaData<T>(capital D) but many files referencedModelMetadata<T>(lowercase d), causing compilation errors:Solution
Standardized all references to use
ModelMetadata(lowercase 'd') which is the more conventional C# naming for "metadata" as a compound word.Files Changed
Core files (3):
src/Models/ModelMetadata.cs- Class renamedsrc/Interfaces/IFullModel.cs- Interface reference updatedsrc/Interfaces/IModel.cs- Method renamedReferences updated (95+ files across):
Build Status
✅ Casing-related errors (CS0246, CS0535) resolved
⚠️ Other pre-existing build errors remain (unrelated to this fix)
Test Plan
🤖 Generated with Claude Code