Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epic / Domain Layer #71

Merged
merged 190 commits into from
Jan 23, 2024
Merged

Epic / Domain Layer #71

merged 190 commits into from
Jan 23, 2024

Conversation

cihandeniz
Copy link
Member

@cihandeniz cihandeniz commented Oct 31, 2023

Implement domain layer and document domain section under architecture so that it
provides a base for convention based configuration on business domain objects.

Tasks

Additional Tasks

dncsvr added 30 commits October 16, 2023 16:33
- add DomainConfiguration
- add IDomainModel and DomainModel implementation
- add a temp UsingPhaseArtifact fixture
- add ApplicationContext property to LayerConfigurator for test setup
- add ApplicationContext to IPhase for test setup
- minor edits
- change phase execution diagram to flowchart
- add ApplicationContext with internal set
- change IsReady to property
- remove ApplicationContext parameter from initialize
- edit test case setups
- Add DomainModelBuilder with Descriptor and Configuration dependency
- remove DomainServiceDescriptor
- remove AddServices phase from domain layer and service registration logic
- edit domain DTOs
- revert defafult business feature to register services manually
- remove unused properties from model records
- move model records to Domain.Model folder and namespace with seperate files
- minor edits
- Add AssemblyModel which represents assemblies and contains TypeModels
- DomainModel now contains AssemblyModels
- minor edits
- modify phase execution order diagram
- remove adding entry assemblies from override feature
- minor edits
dncsvr added 26 commits January 18, 2024 19:15
- remove type is built conventions from `DomainBuilderOptions`
- remove Type and Assembly descriptors
- add interfaces data to `TypeModel`
- edit business feature to register interfaces with implementations
- add test case for interfaces not in domain should not be registered
- add assembly data to `TypeModel`
- add helper method for validating correct exception
- add `HandledException` to type collection in `DefaultExceptionHandling` feature
- fix not registering exceptions case
- remove service suffix from sample interfaces and classes
- move shouldly helper to test service spec base
- change InterfaceTypes to string hashset containing TypeModel.Id's
- edit business feature for registering scoped services
- use `ShouldBeSameAs` helper in registering services tests
- remove service suffix from ClassService => Class
- move IdFrom helper to typemodel
- remove TypeModelIds hashset
- minor edits
…nterfaces-with-implementation

Feature / Domain Layer / Registering Interfaces With Implementation
@dncsvr dncsvr marked this pull request as ready for review January 23, 2024 16:23
@dncsvr dncsvr merged commit 4ef8a21 into main Jan 23, 2024
8 checks passed
@dncsvr dncsvr deleted the epic/domain-layer branch January 23, 2024 16:24
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.

2 participants