Description
After the first request, the findBy will always return the cached value even if language param change
|
@Cacheable(value = "findBy", key = "#uuid") |
|
D findBy(UUID uuid, String language); |
Examples
Requesting with:
/api/v1/seasons/3b980ad3-aef8-4663-a7a9-64cb4979500a?language=en-US
And after with:
/api/v1/seasons/3b980ad3-aef8-4663-a7a9-64cb4979500a?language=pt-BR
Will always return the value in english
Logging
Cache entry for key '3b980ad3-aef8-4663-a7a9-64cb4979500a' found in cache 'findBy'
Description
After the first request, the
findBywill always return the cached value even if language param changeHawAPI/src/main/java/com/lucasjosino/hawapi/services/base/BaseService.java
Lines 35 to 36 in e3d59ce
Examples
Requesting with:
And after with:
Will always return the value in english
Logging