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: fix image key and selected image #1116

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Conversation

revam
Copy link
Member

@revam revam commented Oct 21, 2024

Made sure the image key is unique across images, since only using the id is not unique enough in case the id overlaps between different providers and/or types. And exposed that the selected image can be null, instead of using a fake image type with no actual properties on it and checking if it's the fake type. null exists for a reason so might be a good idea to use it for it's intended use case.

Made sure the image key is unique across images, since only using the id is not unique enough in case the id overlaps between different providers and/or types. And exposed that the selected image can be null, instead of using a fake image type with no actual properties on it and checking if it's the fake type. `null` exists for a reason so might be a good idea to use it for it's intended use case.
@revam revam enabled auto-merge (squash) October 21, 2024 03:47
@revam revam merged commit b0b2fa8 into master Oct 21, 2024
2 checks passed
@revam revam deleted the fix-image-key-and-selected-image branch October 21, 2024 03:48
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.

1 participant