You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I am having an issue where Card objects returned from the API are missing the art_crop and border_crop image URI. All other sizes return proper URLs. See attached photo.
My guess is this is a Codable issue, although your code appears to have the proper coding keys set in the ImageUris struct.
As a test I have confirmed the direct Scryfall API returns URLs for both art and border crops that are valid, and will successfully load in a SwiftUI AsyncImage.
The text was updated successfully, but these errors were encountered:
I actually believe I found the issue, after poking around a bit more it appears the custom coding keys are redundant and causing the issue; see my PR: #22
Hello! I am having an issue where
Card
objects returned from the API are missing theart_crop
andborder_crop
image URI. All other sizes return proper URLs. See attached photo.My guess is this is a Codable issue, although your code appears to have the proper coding keys set in the ImageUris struct.
As a test I have confirmed the direct Scryfall API returns URLs for both art and border crops that are valid, and will successfully load in a SwiftUI AsyncImage.
The text was updated successfully, but these errors were encountered: