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

Create Reference in FirebaseImageObject.fromMap factory #45

Merged
merged 1 commit into from
Dec 25, 2021

Conversation

blaugold
Copy link
Contributor

This is a fix for #40.

fromMap assumed map contains a reference entry but this property is not actually serialized.

This PR reconstructs a Reference from the other properties in fromMap and ensures reference is never null.

squarfed added a commit to squarfed/firebase_image that referenced this pull request Aug 10, 2021
@blaugold blaugold force-pushed the fix/image-object-reference branch from 92f4875 to f9d19b2 Compare December 25, 2021 10:37
@mattreid1 mattreid1 merged commit 71bf0de into mattreid1:master Dec 25, 2021
@mattreid1
Copy link
Owner

Thanks for updating the PR so quickly!

@blaugold
Copy link
Contributor Author

👍 Thanks for merging!

@mattreid1
Copy link
Owner

No worries, sorry it took so long!

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