Skip to content

fix: ensure problem descriptions and metadata display in battle mode#3

Open
abhinavtiwari77 wants to merge 1 commit into
basharahmadkhan10:mainfrom
abhinavtiwari77:main
Open

fix: ensure problem descriptions and metadata display in battle mode#3
abhinavtiwari77 wants to merge 1 commit into
basharahmadkhan10:mainfrom
abhinavtiwari77:main

Conversation

@abhinavtiwari77

Copy link
Copy Markdown
Collaborator
  • Add .lean() to matchmaking service to properly serialize Mongoose documents
  • Add fallback values for all problem fields to prevent undefined serialization
  • Fix MongoDB aggregation pipeline in room socket to explicitly project all fields
  • Update question mapping to include description and handle null values
  • Ensures descriptions, examples, and constraints are properly transmitted through WebSockets

- Add .lean() to matchmaking service to properly serialize Mongoose documents
- Add fallback values for all problem fields to prevent undefined serialization
- Fix MongoDB aggregation pipeline in room socket to explicitly project all fields
- Update question mapping to include description and handle null values
- Ensures descriptions, examples, and constraints are properly transmitted through WebSockets
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.

1 participant