Skip to content

Build modular BookingServices layer (Create/Reschedule/Cancel/etc.) #22829

@linear

Description

@linear

Create modular service classes for booking actions, each responsible for encapsulating all business logic and side effects. These services will be the single entry point for all booking mutations from controllers like TRPC handlers or APIv2 routes.

Examples:

  • BookingCreateService
  • BookingRescheduleService
  • BookingCancelService
  • BookingDeleteService

Notes:

  • Services should accept an optional actor to support audit logging and multi-tenant tracing.

Metadata

Metadata

Assignees

Labels

Medium priorityCreated by Linear-GitHub Syncapiarea: API, enterprise API, access token, OAuthbookingsarea: bookings, availability, timezones, double bookingenterprisearea: enterprise, audit log, organisation, SAML, SSOfoundation✨ featureNew feature or request💻 refactor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions