Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Pagination and nil pointer errors #123

Merged
merged 7 commits into from
Jul 1, 2020
Merged

Fix: Pagination and nil pointer errors #123

merged 7 commits into from
Jul 1, 2020

Conversation

xescugc
Copy link
Member

@xescugc xescugc commented Jun 26, 2020

Some of the paginations where not using the right "format" (most of them had the Next* and was not used).

Also fixed the templates to validate nil objects before trying to access and the same on the resources.

@tormath1
Copy link
Contributor

tormath1 commented Jul 1, 2020

You can RS

xescugc added 7 commits July 1, 2020 17:48
Was not reassigning the log correctly and each resource
had the name of the previous resource also on the log
which made the logs really hard to read if it was a
long import
Some of theme where not using the rignt 'NextToken' if available
Actions to nested attributes now will be validated that the first attribute exists and it's not nil
before trying to access it. This way we do not get a null pointer
The resources that only have one value where not validated if the value actually existed before
unreferencing it, so if it was nil an error was returned
And also the new template format
@xescugc xescugc merged commit 5e2003e into master Jul 1, 2020
@xescugc xescugc deleted the fg-pagination branch July 1, 2020 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants