subql
subql copied to clipboard
Update store interface so limit is required on getByField(s) methods
Description
Updates codegen and store interfaces to make getByField(s) methods require specifying the limit. This is a breaking change at the type level only.
NOTE some tests are failing because they are testing projects that have an older version of the types interface. They will start working again after these changes have been released
Fixes https://github.com/subquery/subql/issues/2558
Type of change
Please delete options that are not relevant.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [x] This change requires a documentation update
Checklist
- [x] I have tested locally
- [x] I have performed a self review of my changes
- [x] Updated any relevant documentation https://github.com/subquery/documentation/pull/558
- [x] Linked to any relevant issues
- [x] I have added tests relevant to my changes
- [x] Any dependent changes have been merged and published in downstream modules
- [x] My code is up to date with the base branch
- [x] I have updated relevant changelogs. We suggest using chan