Conversation
Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
…jects Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
…sertions Co-authored-by: Copilot <copilot@github.com> Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
…tes, docs Agent-Logs-Url: https://github.com/Avanade/CoreEx/sessions/6bd00f38-1dfa-43d7-bb5b-ffebc0d1b4a7 Co-authored-by: israels <3219628+israels@users.noreply.github.com> Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
…jects Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
…sertions Co-authored-by: Copilot <copilot@github.com> Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
…tes, docs Agent-Logs-Url: https://github.com/Avanade/CoreEx/sessions/6bd00f38-1dfa-43d7-bb5b-ffebc0d1b4a7 Co-authored-by: israels <3219628+israels@users.noreply.github.com> Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
There was a problem hiding this comment.
Pull request overview
This PR significantly expands the Contoso sample set by introducing an in-progress Orders domain (API/Application/Infrastructure/Database), a Durable Task-based Order workflow (client/worker/workflow contracts), additional test projects (unit + API), Aspire topology updates, and a new Roslyn generator (CoreEx.Gen) plus supporting templates/docs.
Changes:
- Added Contoso.Orders sample domain (contracts, application services, EF infrastructure, SQL migrations/outbox procedures, and API host + controllers).
- Added Order workflow orchestration via Microsoft.DurableTask (workflow project, worker host, and client library) and wired into Aspire + docker-compose.
- Added/updated generator tooling (
gen/CoreEx.Gen), scaffolding templates, and codebase documentation.
Reviewed changes
Copilot reviewed 221 out of 222 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| src/CoreEx/Entities/Abstractions/CapabilitySupport.cs | Adds a shared enum for capability support levels. |
| samples/tests/Contoso.Orders.Test.Unit/Validators/OrderValidatorTests.cs | Unit tests for Orders validator behavior. |
| samples/tests/Contoso.Orders.Test.Unit/GlobalUsing.cs | Global usings for Orders unit test project. |
| samples/tests/Contoso.Orders.Test.Unit/EntryPoint.cs | Test host configuration + reference data provider for unit tests. |
| samples/tests/Contoso.Orders.Test.Unit/Contoso.Orders.Test.Unit.csproj | New Orders unit test project definition. |
| samples/tests/Contoso.Orders.Test.Common/TestData.cs | Marker type for shared Orders test data. |
| samples/tests/Contoso.Orders.Test.Common/Data/data.yaml | Shared Orders YAML test data. |
| samples/tests/Contoso.Orders.Test.Common/Contoso.Orders.Test.Common.csproj | Shared Orders test common project + embedded resources. |
| samples/tests/Contoso.Orders.Test.Api/ReadTests.OrderGet.cs | API tests for Orders GET and caching semantics. |
| samples/tests/Contoso.Orders.Test.Api/ReadTests.cs | API test fixture setup (migrations/cache/outbox expectations). |
| samples/tests/Contoso.Orders.Test.Api/OtherTests.Swagger.cs | Swagger UI/JSON smoke tests. |
| samples/tests/Contoso.Orders.Test.Api/OtherTests.ReferenceData.cs | Reference data endpoint tests. |
| samples/tests/Contoso.Orders.Test.Api/OtherTests.Health.cs | Health endpoint tests (minimal vs detailed). |
| samples/tests/Contoso.Orders.Test.Api/OtherTests.cs | API test fixture setup for “OtherTests”. |
| samples/tests/Contoso.Orders.Test.Api/OrderMutateTests.Update.cs | API tests for PUT update (success/nochange/concurrency). |
| samples/tests/Contoso.Orders.Test.Api/OrderMutateTests.Patch.cs | API tests for PATCH merge-patch flows. |
| samples/tests/Contoso.Orders.Test.Api/OrderMutateTests.Delete.cs | API tests for delete behavior and outbox emissions. |
| samples/tests/Contoso.Orders.Test.Api/OrderMutateTests.cs | API mutation test base + helper CreateOrder. |
| samples/tests/Contoso.Orders.Test.Api/OrderMutateTests.Create.cs | API tests for create + idempotency key behavior. |
| samples/tests/Contoso.Orders.Test.Api/GlobalUsing.cs | Global usings for Orders API test project. |
| samples/tests/Contoso.Orders.Test.Api/Contoso.Orders.Test.Api.csproj | New Orders API test project definition/resources. |
| samples/tests/Contoso.Orders.Test.Api/appsettings.unittest.json | Test-time connection strings/logging for Orders API tests. |
| samples/tests/Contoso.E2E.Runner/Scenarios/DatabaseMigrationSetup.cs | E2E scenario extended to migrate Orders database too. |
| samples/tests/Contoso.E2E.Runner/Contoso.E2E.Runner.csproj | E2E runner targets net10 only + Orders references. |
| samples/tests/Contoso.E2E.Runner/appsettings.json | Adds Orders connection string for E2E migration scenario. |
| samples/src/Contoso.Orders.Infrastructure/Repositories/ReferenceDataRepository.cs | EF-backed reference data repository for Orders. |
| samples/src/Contoso.Orders.Infrastructure/Repositories/OrdersOutboxPublisher.cs | Orders outbox publisher SP configuration. |
| samples/src/Contoso.Orders.Infrastructure/Repositories/OrdersEfDb.cs | EF Db wrapper exposing Order/OrderStatus models. |
| samples/src/Contoso.Orders.Infrastructure/Repositories/OrdersDbContext.cs | Orders EF Core model configuration + mappings. |
| samples/src/Contoso.Orders.Infrastructure/Repositories/OrderRepository.cs | Orders repository (CRUD + query + item sync). |
| samples/src/Contoso.Orders.Infrastructure/Persistence/OrderStatus.cs | Persistence model for OrderStatus ref data. |
| samples/src/Contoso.Orders.Infrastructure/Persistence/OrderItem.cs | Persistence model for OrderItem. |
| samples/src/Contoso.Orders.Infrastructure/Persistence/Order.cs | Persistence model for Order aggregate. |
| samples/src/Contoso.Orders.Infrastructure/Mapping/OrderStatusMapper.cs | Maps persistence OrderStatus to contract OrderStatus. |
| samples/src/Contoso.Orders.Infrastructure/Mapping/OrderMapper.cs | Maps Order and OrderItem between contract and persistence. |
| samples/src/Contoso.Orders.Infrastructure/GlobalUsing.cs | Global usings for Orders infrastructure project. |
| samples/src/Contoso.Orders.Infrastructure/Contoso.Orders.Infrastructure.csproj | Orders infrastructure project references/packages. |
| samples/src/Contoso.Orders.Database/Schema/Stored Procedures/spOutboxLeaseRelease.g.sql | Orders outbox lease release SP. |
| samples/src/Contoso.Orders.Database/Schema/Stored Procedures/spOutboxLeaseAcquire.g.sql | Orders outbox lease acquire SP. |
| samples/src/Contoso.Orders.Database/Schema/Stored Procedures/spOutboxEnqueue.g.sql | Orders outbox enqueue SP. |
| samples/src/Contoso.Orders.Database/Schema/Stored Procedures/spOutboxBatchComplete.g.sql | Orders outbox batch complete SP. |
| samples/src/Contoso.Orders.Database/Schema/Stored Procedures/spOutboxBatchClaim.g.sql | Orders outbox batch claim SP. |
| samples/src/Contoso.Orders.Database/Schema/Stored Procedures/spOutboxBatchCancel.g.sql | Orders outbox batch cancel SP. |
| samples/src/Contoso.Orders.Database/Program.cs | Orders migration console + reset filter configuration. |
| samples/src/Contoso.Orders.Database/Migrations/20260101-000301-create-orders-outbox-tables.sql | Orders outbox tables + indexes migration. |
| samples/src/Contoso.Orders.Database/Migrations/20260101-000202-create-orders-orderitem.sql | OrderItem table migration. |
| samples/src/Contoso.Orders.Database/Migrations/20260101-000201-create-orders-order.sql | Order table migration. |
| samples/src/Contoso.Orders.Database/Migrations/20260101-000101-create-orders-orderstatus.sql | OrderStatus table migration. |
| samples/src/Contoso.Orders.Database/Migrations/20260101-000001-create-orders-schema.sql | Orders schema creation migration. |
| samples/src/Contoso.Orders.Database/dbex.yaml | DbEx table inventory + outbox enablement for Orders. |
| samples/src/Contoso.Orders.Database/Data/ref-data.yaml | Orders reference data seed (OrderStatus). |
| samples/src/Contoso.Orders.Database/Contoso.Orders.Database.csproj | Orders database utilities project definition. |
| samples/src/Contoso.Orders.Contracts/OrderStatus.cs | Orders reference data contract types. |
| samples/src/Contoso.Orders.Contracts/OrderLite.cs | Lightweight Orders query contract. |
| samples/src/Contoso.Orders.Contracts/OrderItem.cs | Order item contract. |
| samples/src/Contoso.Orders.Contracts/OrderBase.cs | Shared base contract for Orders. |
| samples/src/Contoso.Orders.Contracts/Order.cs | Full Order contract with ETag + ChangeLog. |
| samples/src/Contoso.Orders.Contracts/GlobalUsing.cs | Global usings for Orders contracts. |
| samples/src/Contoso.Orders.Contracts/Contoso.Orders.Contracts.csproj | Orders contracts project + analyzer reference. |
| samples/src/Contoso.Orders.Application/Validators/OrderValidator.cs | Orders validator including child item validation. |
| samples/src/Contoso.Orders.Application/Repositories/IReferenceDataRepository.cs | Orders reference data repository interface. |
| samples/src/Contoso.Orders.Application/Repositories/IOrderRepository.cs | Orders repository interface (CRUD/query). |
| samples/src/Contoso.Orders.Application/ReferenceDataService.cs | Reference data provider bridging repository to orchestrator. |
| samples/src/Contoso.Orders.Application/OrderService.cs | Orders mutation service with UoW + event emission. |
| samples/src/Contoso.Orders.Application/OrderReadService.cs | Orders query/read service. |
| samples/src/Contoso.Orders.Application/Interfaces/IOrderService.cs | Orders service interface for mutations. |
| samples/src/Contoso.Orders.Application/Interfaces/IOrderReadService.cs | Orders read/query service interface. |
| samples/src/Contoso.Orders.Application/GlobalUsing.cs | Global usings for Orders application project. |
| samples/src/Contoso.Orders.Application/Contoso.Orders.Application.csproj | Orders application project references. |
| samples/src/Contoso.Orders.Api/Properties/launchSettings.json | Local launch profile for Orders API. |
| samples/src/Contoso.Orders.Api/Program.cs | Orders API host wiring (CoreEx, cache, SQL, outbox, telemetry). |
| samples/src/Contoso.Orders.Api/GlobalUsing.cs | Global usings for Orders API project. |
| samples/src/Contoso.Orders.Api/Controllers/ReferenceDataController.cs | Orders reference data API endpoints. |
| samples/src/Contoso.Orders.Api/Controllers/OrderReadController.cs | Orders read/query API endpoints. |
| samples/src/Contoso.Orders.Api/Controllers/OrderController.cs | Orders mutation endpoints + workflow orchestration endpoint. |
| samples/src/Contoso.Orders.Api/Contoso.Orders.Api.csproj | Orders API project references/packages. |
| samples/src/Contoso.Orders.Api/appsettings.json | Orders API CoreEx host/event defaults + logging. |
| samples/src/Contoso.Orders.Api/appsettings.Development.json | Dev settings (DTS scheduler + Aspire SQL/Redis). |
| samples/src/Contoso.Order.Workflow.Workflow/OrderWorkflowOrchestration.cs | Durable Task orchestration flow for order workflow. |
| samples/src/Contoso.Order.Workflow.Workflow/Contracts/OrderWorkflowContracts.cs | Workflow request/result + activity inputs. |
| samples/src/Contoso.Order.Workflow.Workflow/Contoso.Order.Workflow.Workflow.csproj | Workflow project definition. |
| samples/src/Contoso.Order.Workflow.Workflow/Activities/ValidateOrderActivity.cs | Workflow validation activity. |
| samples/src/Contoso.Order.Workflow.Workflow/Activities/SubmitOrderActivity.cs | Workflow submission activity. |
| samples/src/Contoso.Order.Workflow.Worker/Properties/launchSettings.json | Local launch profile for workflow worker. |
| samples/src/Contoso.Order.Workflow.Worker/Program.cs | Worker host wiring for DTS + OpenTelemetry + health. |
| samples/src/Contoso.Order.Workflow.Worker/Contoso.Order.Workflow.Worker.csproj | Worker project definition + DTS/OTel packages. |
| samples/src/Contoso.Order.Workflow.Worker/appsettings.json | Worker default config (scheduler endpoint/taskhub). |
| samples/src/Contoso.Order.Workflow.Worker/appsettings.Development.json | Worker dev config for local scheduler. |
| samples/src/Contoso.Order.Workflow.Client/ServiceCollectionExtensions.cs | DI extension to register DTS client + wrapper client. |
| samples/src/Contoso.Order.Workflow.Client/OrderWorkflowClient.cs | Wrapper client to start orchestration + query metadata. |
| samples/src/Contoso.Order.Workflow.Client/DurableTaskSchedulerOptions.cs | Options model for scheduler endpoint/taskhub. |
| samples/src/Contoso.Order.Workflow.Client/DurableTaskConnectionStringFactory.cs | Builds DTS connection string with auth mode selection. |
| samples/src/Contoso.Order.Workflow.Client/Contoso.Order.Workflow.Client.csproj | Workflow client project definition. |
| samples/Directory.Build.props | Samples build now targets net10 only. |
| samples/aspire/Contoso.Aspire/Properties/launchSettings.json | Aspire launch env updated for unsecured transport. |
| samples/aspire/Contoso.Aspire/Contoso.Aspire.csproj | AppHost SDK version bump + Orders/worker references. |
| samples/aspire/Contoso.Aspire/AppHost.cs | Aspire topology adds Orders API + workflow worker. |
| samples/aspire.config.json | Adds Aspire appHost path configuration. |
| README.md | Updates Samples section to emphasize Contoso topology. |
| gen/CoreEx.Gen/Utility/Pluralizer.cs | Adds pluralization singleton helper. |
| gen/CoreEx.Gen/Utility/HandlebarsHelpers.cs | Adds Handlebars helpers for templates (indent/equality/braces). |
| gen/CoreEx.Gen/Utility/HandlebarsCodeGenerator.cs | Adds Handlebars-based code generator wrapper. |
| gen/CoreEx.Gen/Utility/CodeGenContext.cs | Adds codegen context (indent + diagnostic reporting). |
| gen/CoreEx.Gen/Templates/StringAttribute.cs.hb | Template for string cleaner attribute. |
| gen/CoreEx.Gen/Templates/ReferenceDataTAttribute.cs.hb | Template for generic reference data property attribute. |
| gen/CoreEx.Gen/Templates/ReferenceDataCodeCollectionTAttribute.cs.hb | Template for ref-data code collection attribute. |
| gen/CoreEx.Gen/Templates/ReferenceDataAttribute.cs.hb | Template for reference data type attribute. |
| gen/CoreEx.Gen/Templates/ReferenceData.cs.hb | Template for reference data partial class generation. |
| gen/CoreEx.Gen/Templates/DateTimeAttribute.cs.hb | Template for date-time cleaner attribute. |
| gen/CoreEx.Gen/Templates/ContractIgnoreAttribute.cs.hb | Template for contract ignore attribute. |
| gen/CoreEx.Gen/Templates/ContractAttribute.cs.hb | Template for contract type attribute. |
| gen/CoreEx.Gen/Templates/CleanAttribute.cs.hb | Template for generic clean attribute. |
| gen/CoreEx.Gen/ReferenceDataGenerator.cs | Adds incremental generator for [ReferenceData]. |
| gen/CoreEx.Gen/Properties/launchSettings.json | Roslyn component debug profile for generator. |
| gen/CoreEx.Gen/GenApproach.cs | Adds internal enum describing codegen approach. |
| gen/CoreEx.Gen/CoreEx.Gen.csproj | Adds new analyzer/generator project definition. |
| gen/CoreEx.Gen/ContractGenerator.cs | Adds incremental generator for [Contract] plus attribute emission. |
| docs/codebase/TESTING.md | Adds documented testing patterns/commands overview. |
| docs/codebase/STRUCTURE.md | Adds codebase structure documentation. |
| docs/codebase/STACK.md | Adds tech stack documentation. |
| docs/codebase/INTEGRATIONS.md | Adds external integrations documentation. |
| docs/codebase/CONVENTIONS.md | Adds coding conventions documentation. |
| docs/codebase/CONCERNS.md | Adds risk/concerns documentation. |
| docs/codebase/ARCHITECTURE.md | Adds architecture overview documentation. |
| docker-compose.yml | Adds DTS emulator container for local workflow runtime. |
| Directory.Packages.props | Adds Microsoft.DurableTask package versions. |
| .github/templates/domain/Infrastructure/Repositories/ReferenceDataRepository.cs.template | Domain scaffold template additions (Orders-aligned). |
| .github/templates/domain/Infrastructure/Repositories/EntityRepository.cs.template | Scaffold template for entity repository. |
| .github/templates/domain/Infrastructure/Repositories/DomainOutboxPublisher.cs.template | Scaffold template for outbox publisher. |
| .github/templates/domain/Infrastructure/Repositories/DomainEfDb.cs.template | Scaffold template for EfDb wrapper. |
| .github/templates/domain/Infrastructure/Repositories/DomainDbContext.cs.template | Scaffold template for DbContext model config. |
| .github/templates/domain/Infrastructure/Persistence/EntityStatus.cs.template | Scaffold template for status persistence model. |
| .github/templates/domain/Infrastructure/Persistence/Entity.cs.template | Scaffold template for entity persistence model. |
| .github/templates/domain/Infrastructure/Persistence/ChildEntity.cs.template | Scaffold template for child persistence model. |
| .github/templates/domain/Infrastructure/Mapping/EntityStatusMapper.cs.template | Scaffold template for status mapper. |
| .github/templates/domain/Infrastructure/Mapping/EntityMapper.cs.template | Scaffold template for entity mapper. |
| .github/templates/domain/Infrastructure/GlobalUsing.cs.template | Scaffold template for infrastructure global usings. |
| .github/templates/domain/Infrastructure/Domain.Infrastructure.csproj.template | Scaffold template for infrastructure project. |
| .github/templates/domain/DomainScaffold.checklist.md | Adds scaffold completion checklist. |
| .github/templates/domain/Database/Schema/Stored Procedures/spOutboxLeaseRelease.g.sql.template | Scaffold template for outbox SP. |
| .github/templates/domain/Database/Schema/Stored Procedures/spOutboxLeaseAcquire.g.sql.template | Scaffold template for outbox SP. |
| .github/templates/domain/Database/Schema/Stored Procedures/spOutboxEnqueue.g.sql.template | Scaffold template for outbox SP. |
| .github/templates/domain/Database/Schema/Stored Procedures/spOutboxBatchComplete.g.sql.template | Scaffold template for outbox SP. |
| .github/templates/domain/Database/Schema/Stored Procedures/spOutboxBatchClaim.g.sql.template | Scaffold template for outbox SP. |
| .github/templates/domain/Database/Schema/Stored Procedures/spOutboxBatchCancel.g.sql.template | Scaffold template for outbox SP. |
| .github/templates/domain/Database/Program.cs.template | Scaffold template for database utility Program. |
| .github/templates/domain/Database/Migrations/000301-create-outbox-tables.sql.template | Scaffold template for outbox tables migration. |
| .github/templates/domain/Database/Migrations/000202-create-childentity.sql.template | Scaffold template for child table migration. |
| .github/templates/domain/Database/Migrations/000201-create-entity.sql.template | Scaffold template for entity table migration. |
| .github/templates/domain/Database/Migrations/000101-create-entitystatus.sql.template | Scaffold template for status table migration. |
| .github/templates/domain/Database/Migrations/000001-create-schema.sql.template | Scaffold template for schema migration. |
| .github/templates/domain/Database/Domain.Database.csproj.template | Scaffold template for database project. |
| .github/templates/domain/Database/dbex.yaml.template | Scaffold template for dbex.yaml. |
| .github/templates/domain/Database/Data/ref-data.yaml.template | Scaffold template for reference data seed. |
| .github/templates/domain/Contracts/GlobalUsing.cs.template | Scaffold template for contracts global usings. |
| .github/templates/domain/Contracts/EntityStatus.cs.template | Scaffold template for ref data contract type. |
| .github/templates/domain/Contracts/EntityLite.cs.template | Scaffold template for lite contract. |
| .github/templates/domain/Contracts/EntityBase.cs.template | Scaffold template for base contract. |
| .github/templates/domain/Contracts/Entity.cs.template | Scaffold template for entity contract. |
| .github/templates/domain/Contracts/Domain.Contracts.csproj.template | Scaffold template for contracts project. |
| .github/templates/domain/Contracts/ChildEntity.cs.template | Scaffold template for child contract. |
| .github/templates/domain/Application/Validators/EntityValidator.cs.template | Scaffold template for entity validator. |
| .github/templates/domain/Application/Repositories/IReferenceDataRepository.cs.template | Scaffold template for ref data repo interface. |
| .github/templates/domain/Application/Repositories/IEntityRepository.cs.template | Scaffold template for entity repo interface. |
| .github/templates/domain/Application/ReferenceDataService.cs.template | Scaffold template for ref data provider service. |
| .github/templates/domain/Application/Interfaces/IEntityService.cs.template | Scaffold template for service interface. |
| .github/templates/domain/Application/Interfaces/IEntityReadService.cs.template | Scaffold template for read service interface. |
| .github/templates/domain/Application/GlobalUsing.cs.template | Scaffold template for application global usings. |
| .github/templates/domain/Application/EntityService.cs.template | Scaffold template for mutation service. |
| .github/templates/domain/Application/EntityReadService.cs.template | Scaffold template for read/query service. |
| .github/templates/domain/Application/Domain.Application.csproj.template | Scaffold template for application project. |
| .github/templates/domain/Api/Program.cs.template | Scaffold template for API host Program.cs. |
| .github/templates/domain/Api/GlobalUsing.cs.template | Scaffold template for API global usings. |
| .github/templates/domain/Api/Domain.Api.csproj.template | Scaffold template for API project. |
| .github/templates/domain/Api/Controllers/ReferenceDataController.cs.template | Scaffold template for ref data controller. |
| .github/templates/domain/Api/Controllers/EntityReadController.cs.template | Scaffold template for read controller. |
| .github/templates/domain/Api/Controllers/EntityController.cs.template | Scaffold template for mutation controller. |
| .github/templates/domain/Api/appsettings.json.template | Scaffold template for API appsettings. |
| .github/skills/add-capability/references/messaging-retrofit-checkpoints.md | Adds messaging retrofit reference doc. |
| .github/skills/add-capability/references/messaging-retrofit-checklist.md | Adds messaging retrofit checklist doc. |
| .github/skills/acquire-codebase-knowledge/references/inquiry-checkpoints.md | Adds codebase inquiry checkpoints. |
| .github/skills/acquire-codebase-knowledge/assets/templates/TESTING.md | Adds testing doc template asset. |
| .github/skills/acquire-codebase-knowledge/assets/templates/STRUCTURE.md | Adds structure doc template asset. |
| .github/skills/acquire-codebase-knowledge/assets/templates/STACK.md | Adds stack doc template asset. |
| .github/skills/acquire-codebase-knowledge/assets/templates/INTEGRATIONS.md | Adds integrations doc template asset. |
| .github/skills/acquire-codebase-knowledge/assets/templates/CONVENTIONS.md | Adds conventions doc template asset. |
| .github/skills/acquire-codebase-knowledge/assets/templates/CONCERNS.md | Adds concerns doc template asset. |
| .github/skills/acquire-codebase-knowledge/assets/templates/ARCHITECTURE.md | Adds architecture doc template asset. |
| .github/prompts/setup.prompt.md | Adds workspace setup prompt automation instructions. |
| .github/prompts/init.prompt.md | Adds repo init prompt automation instructions. |
| .github/instructions/validators.instructions.md | Adds validator conventions instructions. |
| .github/instructions/event-subscribers.instructions.md | Adds event subscriber conventions instructions. |
| .github/instructions/database-project.instructions.md | Adds database project conventions instructions. |
| .github/instructions/api-controllers.instructions.md | Adds API controller conventions instructions. |
| .github/agents/coreex-expert.agent.md | Adds CoreEx expert agent definition. |
Comment on lines
+43
to
+46
| /// Reports the accumulated <see cref="Diagnostics"/> to the provided <paramref name="context"/>. | ||
| /// </summary> | ||
| /// <param name="context">The <see cref="<see cref="SourceProductionContext"/>.</param> | ||
| /// <returns><see langword="true"/> indicates there are no <see cref="Diagnostics"/> in <see cref="DiagnosticSeverity.Error"/> and source production should occur; otherwise, <see langword="false"/> indicates that no source production should occur.</returns> |
Comment on lines
+28
to
+32
| public static HandlebarsCodeGenerator Create(string resourceName) | ||
| { | ||
| using var s = typeof(HandlebarsCodeGenerator).Assembly.GetManifestResourceStream(resourceName); | ||
| using var sr = new StreamReader(s); | ||
| return new HandlebarsCodeGenerator(sr); |
Comment on lines
+35
to
+38
| public Task<IActionResult> PatchAsync(string id) => _webApi.PatchAsync<OrderContract>(Request, | ||
| get: (ro, _) => _service.GetAsync(id.Required()), | ||
| put: (ro, _) => _service.UpdateAsync(ro.Value.Adjust(o => o.Id = id))); | ||
|
|
Comment on lines
+46
to
+49
| {{indent}}{{bc}} | ||
| {{#each ContainingTypeHierarchy}} | ||
| {{indent--}}{{Indent}}{{bc}} | ||
| {{/each}} |
Comment on lines
+95
to
+99
| {{/each}} | ||
| {{indent}}{{bc}} | ||
| {{#each ContainingTypeHierarchy}} | ||
| {{indent--}}{{Indent}}{{bc}} | ||
| {{/each}} |
Comment on lines
+86
to
+91
| {{indent}} /// <summary> | ||
| {{indent}} /// Gets or sets the <see cref="global::CoreEx.RefData.ReferenceDataCodeCollection{TRef}"/> (<see cref="{{RefDataType}}"/>) encapsulation of the underlying <see cref="{{Name}}"/>. | ||
| {{indent}} /// </summary> | ||
| {{indent}} [global::System.Text.Json.Serialization.JsonIgnore] | ||
| {{indent}} public global::CoreEx.RefData.ReferenceDataCodeCollection<{{RefDataType}}> {{RefDataName}} { get => new(ref {{RefDataCodeCollectionFieldName}}); set => value?.ToCodeList(); } | ||
| {{else}} |
… files for clarity and consistency Co-authored-by: Copilot <copilot@github.com>
… integration - Cleaned up host setup instructions by removing unnecessary lines and improving clarity. - Updated API host section to emphasize key registrations and middleware usage. - Streamlined Subscribe host instructions to focus on essential configurations. - Simplified Outbox Relay host guidance, highlighting minimal requirements. - Created new authoring standards for instruction files to ensure consistency and maintainability. - Established detailed workflows for adding capabilities and generating domains, enhancing user guidance. - Introduced structured references for skills to improve discoverability and organization. Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Israel Slobodkin <israel.slobodkin@avanade.com>
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.
Try #3 to resolve DCO issue
This PR contains github copilot instructions, actions and additional documentation to support agentic workflows. New Order domain scaffolding and ordering workflow structure have been added.