Skip to content

Conversation

@nathanstitt
Copy link
Member

@nathanstitt nathanstitt commented Jun 22, 2021

If a student's dropped before they do anything the data array on the student scores will be an array of null:

image

this commit has the fix:
nathanstitt/modeled-mobx@8d3ef74

And protect access so it won't fail when null while api is fetching
Fixes bug due to attempting to hydrate model with null attributes
modeled-mobx now expects an object for hydration
@nathanstitt nathanstitt requested a review from a team June 22, 2021 16:31
@nathanstitt nathanstitt merged commit d143f1a into main Jun 22, 2021
@nathanstitt nathanstitt deleted the fix/gb-null-work branch June 22, 2021 20:41
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.

4 participants