Skip to content

Implement the pipeline builder for professor endpoints #279

@mikehquan19

Description

@mikehquan19

Professors aggregate endpoints (/professor/courses & /professor/sections) use 2 Mongo pipelines, professorCoursePipeline & professorSectionPipeline for aggregating data.

They are functional, but are hardcoded in each endpoint. Since the 2 pipelines share lots of stage, it would be more managable for us to write a single function that returns the appropriate pipeline based on the types of endpoints.

Metadata

Metadata

Assignees

Labels

L2A task suitable for someone who is comfortable implementing features.good first issueGood for newcomersrefactorRefactoring or rewriting the codebase

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions