Consolida evolução do FluentMap até etapa 6 - #2
Merged
rodri-oliveira-dev merged 20 commits intoJul 26, 2026
Conversation
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.
Resumo
Este PR consolida a evolução do
Dapper.FluentMapacumulada nas etapas 1 a 6, usando os relatórios emdocs/sdd/etapa-*como referência para descrever o escopo.Ajustes principais
Expression<Func<TEntity, object>>.MappingRegistry, chaves de cache estruturadas, invalidação por tipo e testes de integração reais com Dapper.MemberPath, validação fail-fast comFluentMapConfigurationException,IncludeBase<TBase>()e naming policies (SnakeCase, prefix/suffix/custom e composição).AddMap<TMap>(), discovery por assembly, constructor mapping para tipos imutáveis/records simples,Validate()eExplain<TEntity>().Dapper.FluentMap.AnalyzerseDapper.FluentMap.Generators, incluindoAddGeneratedMappings().netstandard2.0no core.QueryMapped*para nested objects, Value Objects imutáveis e mapping profiles query-scoped.GetEntityMaps()/GetTypeConventions()) e isola compatibilidade Dapper-specific em adapters internos.Dapper.Query<T>()deQueryMapped*.docs/,.agents/e.tmp/do versionamento e adiciona essas pastas ao.gitignore.Impacto para consumidores
QueryMapped*e mapping profiles.Dapper.Query<T>()continua sendo o caminho padrão para mappings simples e fallback do Dapper.Validação
Executado localmente:
dotnet restore ./Dapper.FluentMap.sln dotnet build ./Dapper.FluentMap.sln --configuration Release --no-restore dotnet test ./Dapper.FluentMap.sln --configuration Release --no-build dotnet pack ./Dapper.FluentMap.sln --configuration Release --no-build --output ./artifacts/packagesResultado observado:
licenseUrl/ ausência de package README no core e Dommel.Observações