Repository navigation
feat(domain): contratos de persistência sem dependência de ORM - #2
Merged
Merged
Conversation
IEntity<TKey> (implementado por DomainEntity<TId>), ISoftDelete e IAuditable passam a viver em TEC.Core.Domain, com as bases AuditableDomainEntity<TId> e AuditableAggregateRoot<TId>. O TEC.ORM usa estes contratos, então o projeto de domínio de um serviço referencia só o TEC.Core (Clean Architecture). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 30, 2026
feat!: domínio sem referência ao ORM (contratos no TEC.Core e Fluent API)
tudoemcodigo/lib-tec-orm#2
Merged
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
IEntity<TKey>(implementado porDomainEntity<TId>),ISoftDeleteeIAuditableemTEC.Core.Domain.AuditableDomainEntity<TId>eAuditableAggregateRoot<TId>(setters privados, preenchidos pela persistência).docs/dominio.md) e CHANGELOG da 0.0.1.Motivação: o domínio dos serviços deixa de referenciar o TEC.ORM. O TEC.ORM passa a usar estes contratos (PR correspondente no lib-tec-orm).
Mudança aditiva: nenhum tipo público removido ou alterado de forma incompatível.
Verificação
dotnet test --project TEC.Core.Tests -c Release: 639 aprovados, 0 falhas.🤖 Generated with Claude Code