OCA / rest-framework

GNU Affero General Public License v3.0
313 stars 300 forks source link

[minor] no simple way to add an extensible validator schema to a route that doesn't have one yet #203

Closed kevinkhao closed 2 years ago

kevinkhao commented 3 years ago

Case in point: https://github.com/shopinvader/odoo-shopinvader/pull/1129/files#diff-006961960cfff7cd72840c620ccbccef51a27d72c47e86a6cec9e008b539af87R19 right now we either add some getattr(_my_validator_schema) everywhere or are unable to call super() (so, we do a direct (re)definition, potentially breaking any previous overloads)

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.