Skip to content

Generic mapper tests - #59

Open
equist wants to merge 5 commits into
RockSolidKnowledge:mainfrom
equist:feat/generic_mapper_tests
Open

Generic mapper tests#59
equist wants to merge 5 commits into
RockSolidKnowledge:mainfrom
equist:feat/generic_mapper_tests

Conversation

@equist

@equist equist commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Description

I added a generic (using reflection) helper to verify that all properties are mapped to/from entity/model. I choose to not modify the existing tests that exists for some of the entities/models.
It caught a missing property for Client.

Type of change

  • Bug fix
  • Feature
  • Refactoring
  • Documentation
  • Other

Does this PR introduce a breaking change?

Does the change cause existing functionality to not work as previously expected, or does the DB schema or C# public API surface change?

  • Yes
  • No

Testing

The change is additional tests. I choose to not change or remove the existing mapping tests, even though some of them are redundant now.

LLM Usage

I used co-pilot to create the MappingVerifier class.

Other context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant