bliblidotcom / command-plugin

Command Pattern Plugin for Service Layer
Apache License 2.0
7 stars 3 forks source link

Empty List/ null object always cached #13

Closed ekomanurung closed 5 years ago

ekomanurung commented 6 years ago

https://github.com/bliblidotcom/command-plugin/blob/4301f5bc6454c55393ca095ad883b4f4134900d9/src/main/java/com/blibli/oss/command/cache/impl/CommandCacheImpl.java#L29

khannedy commented 5 years ago

yes, we need to return Command Response class in command, not primitive type, or collection type