Description
A table field that shares the same handle as a table field in a matrix will have it's type handle_TableRow overridden in the graph schema.
For example, if I have a table in a matrix field called answers and a top-level table field called answers, both will point to the same schema type of answers_TableRow. The properties of this schema will match only one of the types, meaning the values for the other will be incorrect.
Steps to reproduce
- Create a table field
- Create a matrix field containing a table of the same handle as the above but different columns
- Try to query the data from both
Additional info
- Craft version: 3.7.35
- PHP version: 8.1.1
- Database driver & version: MySQL 5.5.5