Adam S
07/11/2022, 9:55 AM{} if a list is empty
I've written a custom serializer to handle this, and set contextual(List::class) in the SerializersModule, but I forgetting to add @Contextual to all the list properties.
Is there a way to hardcode 'use my EmptyListEmptyObjectSerializer for all `List<>`s' in a SerializersModule?Adam S
07/11/2022, 9:56 AMAdam S
07/11/2022, 10:00 AM