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
With the local TCGdex model (#314), `TcgdexCard::getImageUrl()` already computes this from the entity hierarchy with configurable resolution and format. For cards sourced from the local DB, the URL is fully derivable.
Current Decision
Deferred. `CardPrinting.imageUrl` stays as a full URL for now because:
Multiple sources — the URL may come from TCGdex CDN, pokemontcg.io fallback, or static overrides. These have different base URLs and path conventions, so a single relative path format doesn't cover all cases.
Context
Currently `CardPrinting.imageUrl` stores the full CDN URL:
```
https://assets.tcgdex.net/en/sv/sv02/001/high.webp
```
With the local TCGdex model (#314), `TcgdexCard::getImageUrl()` already computes this from the entity hierarchy with configurable resolution and format. For cards sourced from the local DB, the URL is fully derivable.
Current Decision
Deferred. `CardPrinting.imageUrl` stays as a full URL for now because:
Future Approach
Once #316 (fallback chain) is implemented and stabilized, we could:
Dependencies