feat: add TitleAr/TitleEn/DescriptionAr/DescriptionEn fields to interactive maps#103
Merged
Conversation
…active map nodes - Added 4 new fields (TitleAr, TitleEn, DescriptionAr, DescriptionEn) to InteractiveMapNode entity, DTOs, commands, validators, EF config, and migration - Removed Topic and Posts from public node details endpoint (only News, Events, Resources remain) - Removed WhenWritingNull from EnvelopeWriter so nullable fields appear as null in JSON - Excluded new fields from public interactive-maps list endpoint (replica schema mismatch workaround) - Updated Seeders with the new fields
…tion per CRUD guide - Removed .Include(n => n.Tags) + in-memory MapToDto - Uses ToPagedResultAsync with projection expression (single SQL round-trip) - Matches crud-implementation-guide.md conventions for read operations
Rashed99Azm
reviewed
Jul 1, 2026
| internal static readonly JsonSerializerOptions JsonOptions = new() | ||
| { | ||
| PropertyNamingPolicy = JsonNamingPolicy.CamelCase, | ||
| DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, |
Collaborator
Author
There was a problem hiding this comment.
دا علشان ب ignore اي فيلد null
Collaborator
Author
There was a problem hiding this comment.
need if name=""
need
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.
…active map nodes
Summary
Test plan
dotnet test backend/CCE.slngreenpnpm nx run-many -t lint,testgreen./scripts/check-contracts-clean.shgreenpnpm nx run-many -t e2e(web-portal-e2e + admin-cms-e2e) greenSecurity checklist
BRD traceability
Screenshots / output (optional)