SeedCompany / cord-api-v3

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

Simplify EdgeDB Repo customize #3194

Closed CarsonF closed 5 months ago

CarsonF commented 5 months ago

Instead of putting customized methods in an intermediary class, they can now just go in the final class. If the signature is compatible with the default one, then nothing more is needed, which is the same as before. If the signature is not compatible with the default one, then it can just be marked in the omit array to ignore the default signature.

Overall I think this simpler for customization cases.

For default cases, it doesn't appear that we will ever not want to start with default methods. If we did we'd just extend from CommonRepo instead. Maybe future work here if needed.