Merged
Conversation
Introduce a new `Hidden` attribute to mark properties that should be excluded from serialization. Updated `BaseData` and `PropertyContext` to handle this behavior, added a corresponding unit test, and documented the feature in `PropertyAttributes.md`.
Introduce `MapName` attribute to define property name mappings with configurable letter case transformations. This includes a `LetterCase` enum, utilities in the `Str` class, and pipeline integration for deserialization. Comprehensive tests have been added to ensure functionality and coverage.
Introduce a new `NameMapper.md` file explaining the usage of the `MapName` attribute for handling property name mapping and letter case transformations. Update cross-references in `PropertyAttributes.md` and `Quickstart.md` to include this new documentation.
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.
This pull request includes several updates to the
clover.xmlfile, primarily focusing on adding new files and updating metrics for existing classes. The most important changes are grouped by theme below:Addition of New Files
MapName.phpto theClasspackage with corresponding metrics and lines of code.Hidden.phpto thePropertypackage with corresponding metrics.NameMapperConfig.phpto theClassContextpackage with corresponding metrics and lines of code.LetterCase.phpto theEnumspackage with corresponding metrics.Updates to Existing Classes
BaseDatain theConcernspackage.ClassContextin theContextspackage.PropertyContextin theContextspackage.TypeContextin theContextspackage.PropertyContextin theContextspackage.