#30613 closed Cleanup/optimization (fixed)
Move index name checks from Index.__init__ into system checks.
| Reported by: | Can Sarıgöl | Owned by: | Can Sarıgöl |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Index names assertions should be moved to system checks to keep code cleaner and more consistent.
Change History (4)
comment:1 by , 6 years ago
| Has patch: | set |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
comment:2 by , 6 years ago
| Description: | modified (diff) |
|---|---|
| Summary: | Move index name check from Index.__init__ into system checks. → Move index name checks from Index.__init__ into system checks. |
| Triage Stage: | Unreviewed → Accepted |
comment:4 by , 7 months ago
I'm not sure that moving this validation was appropriate. Index.__init__() does a lot argument validation and I don't see a reason why the validation of name should be treated differently. See ticket:36273#comment:7.
Note:
See TracTickets
for help on using tickets.
PR