Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • ENSportive backend ENSportive backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ENSportive
  • ENSportive backendENSportive backend
  • Merge requests
  • !29

Merged
Created May 27, 2024 by Nicholas Stefanello Luz@nicholas.luzDeveloper0 of 4 tasks completed0/4 tasks

feat: automatically creates lessons when creating a course

  • Overview 0
  • Commits 2
  • Changes 5

Description

Create 3 months of lessons when creating a course. Fix create lesson so that the course, teacher and lesson plan are correctly mapped in lesson entity. Change lesson fields to be nullable.

Issues

#19

Steps to Test

Lesson database after creating a course (id 1), automatically created lessons with id 1-12. Lesson id 13 is the one using the create lesson endpoint, with the entities mapped correctly. image

Checklist (reviewers)

  • Code review
  • Manual test (if applicable)
  • Tests added (if applicable)
  • Documentation reviewed
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 19-automatically-create-lessons-when-creating-course