GQL-86: User cannot retrieve C2142771958-LPCLOUD in MMT production #149
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
What is the feature?
Initial issue was User cannot retrieve C2142771958-LPCLOUD in MMT production. Users were unable to do this because there were over 2000 variable associations. This could also be an issue for services and tools.
What is the Solution?
Edit the resolver to pass handlePagingParams nothing as opposed to variables.length. This defaults the page size to 20, users of a client will need to paginate through results if there is ever a front end that requires it. MMT does not allow users to view associated variables or tools from a Collection so there should not be a need to change MMT at this time. I did the same for tools but not for services. Services CAN be viewed from collections but it does not appear that is very common for a collection to have more than 3 services.
What areas of the application does this impact?
Collection resolver
Testing
Reproduction steps
Attachments
Issue on main
Fixed on branch
Fixed on prod
Checklist