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

Refactors all package code to strictNullChecks = true #262

Merged
merged 1 commit into from
Feb 9, 2021

Conversation

joelalejandro
Copy link
Member

Resolves #250.

@joelalejandro joelalejandro added this to the 1.1.0 milestone Feb 9, 2021
@joelalejandro joelalejandro self-assigned this Feb 9, 2021
@@ -213,12 +213,13 @@ export default class JsonApiSerializer implements IJsonApiSerializer {
attribute => subResourceClass.schema.attributes[attribute] === Password
)
]),
relationships: nestedResources.filter
// A drunk Santiago walks in the bar...
relationships: {} // nestedResources.filter
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's a story there, I'm sure...

If I could just remember 😝...

Copy link
Member

@spersico spersico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome job! There were a couple of cases that I see that you type the same thing twice. I'm guessing that the type checker was being dumb, and yelling at you.

LGTM!

@joelalejandro joelalejandro merged commit d2e13e6 into master Feb 9, 2021
@joelalejandro joelalejandro deleted the feature/null-safe branch February 9, 2021 13:45
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.

Refactor code to be compliant with strictNullChecks enabled
2 participants