Skip to content

Conversation

@jgreaves8
Copy link
Collaborator

@jgreaves8 jgreaves8 commented Dec 4, 2024

  • Use Hydrator class separately instead of having the logic in BaseService
  • Register models using @RegisterModel decorator, hydrator gets model type for hydration from ModelRegistry
  • Update services, no longer need to declare their model in the construct
  • Remove unused src/services/Services.ts
  • Remove unused src/services/index.ts

- Use Hydrator class separately instead of having the logic in BaseService
- Register models using @RegisterModel decorator, hydrator gets model type for hydration from ModelRegistry
- Update services, no longer need to declare their model in the construct
@jgreaves8 jgreaves8 requested a review from Karl456 December 4, 2024 13:06
@jgreaves8 jgreaves8 self-assigned this Dec 4, 2024
@jgreaves8 jgreaves8 added the improvement improving features, performance, quality, reliability or security label Dec 4, 2024
@jgreaves8 jgreaves8 merged commit 9bd6685 into main Dec 4, 2024
@jgreaves8 jgreaves8 deleted the hydrate-relationships-from-top-level-includes branch December 4, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement improving features, performance, quality, reliability or security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants