SeedCompany / cord-api-v3

Bible translation project management API
MIT License
18 stars 4 forks source link

[EdgeDB] Tweak StepProgress context #3119

Closed CarsonF closed 7 months ago

CarsonF commented 7 months ago

StepProgress needs to be aware of ProjectContext for policy conditions. It's not currently a Resource though. So I'm extending directly from ContextAware, instead of a ProgressReport::Child.

Switch StepProgress.Parent from 'dynamic' to static ProgressReport. This will keep it from being treated as "Embedded", which it is not.