Skip to content

Fix/job fetching and pagination#3

Merged
digitalnomad91 merged 93 commits intomainfrom
fix/job-fetching-and-pagination
Sep 19, 2025
Merged

Fix/job fetching and pagination#3
digitalnomad91 merged 93 commits intomainfrom
fix/job-fetching-and-pagination

Conversation

@digitalnomad91
Copy link
Member

No description provided.

…cription logging; shrink metadata generation
…w jobs

Previously, the service would stop processing all jobs after encountering
the first existing job, preventing new jobs from being added to the database.
Now it skips existing jobs but continues processing the rest.
…l new jobs

Previously, the service would stop processing all jobs after encountering
the first existing job, preventing new jobs from being added to the database.
Now it skips existing jobs but continues processing the rest.
…ameters

Added @type(() => Number) decorators to skip, first, and last pagination
parameters to automatically convert query string parameters to integers
before validation, fixing 'must be an integer' validation errors.
…ob controller

Removed manual parseInt() logic for skip and first parameters since
@type() decorators in PaginationArgs now handle automatic transformation.
This eliminates duplicate parameter handling and potential conflicts.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request fixes job fetching and pagination issues in a NestJS application. The changes implement a comprehensive job management system with external data source integration, pagination utilities, and WebSocket functionality.

  • Implements job fetching from Reddit and Web3Career APIs with notification system
  • Adds comprehensive pagination utilities with cursor and offset-based pagination support
  • Introduces WebSocket gateway for real-time communication and Redis-based pub/sub functionality

Reviewed Changes

Copilot reviewed 161 out of 216 changed files in this pull request and generated 17 comments.

Show a summary per file
File Description
test/app.e2e-spec.ts Reformats test to single line
src/main.ts Major application bootstrap overhaul with OpenTelemetry, middleware, and configuration
src/users/* Complete user management system with authentication, validation, and GraphQL resolvers
src/jobs/* Job management system with external API integration and comprehensive CRUD operations
src/common/* Shared utilities including pagination, database, Redis, logging, and validation helpers
src/notifications/* Push notification system supporting both web push and FCM
src/auth/* Authentication system with JWT, Google OAuth, and Redis-based session management
src/wss/* WebSocket gateway implementation with Redis adapter support

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

digitalnomad91 and others added 8 commits September 18, 2025 23:28
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@digitalnomad91 digitalnomad91 merged commit a04c316 into main Sep 19, 2025
@digitalnomad91 digitalnomad91 deleted the fix/job-fetching-and-pagination branch September 19, 2025 04:49
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