Refactor limit check
What does this MR do and why?
Refactor limit check
- Change the method so it expects a count and not something that needs to sized.
- Use a named argument to indicate we are passing an amount Removes the need to have it be in the method name and makes the if statement clearer to read
References
- Discussion on: !179395 (comment 2320922492)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
n/a
How to set up and validate locally
- run
bundle exec rspec spec/graphql/mutations/todos/base_many_spec.rb
Edited by SAM FIGUEROA