Re: Create flow to only reflect selected fields on ReflectionToStringBuilder

2021-07-08 Thread Daniel Augusto Veronezi Salvador
Thanks for the reply Mark, I showed you parts of the snippet to avoid a long reply, but I think it turn it confusing. Here is the the full snippet (the comments are the results):         Example example = new UseCase.Example();         example.setA("test");         example.setB(1);         ex

Re: Create flow to only reflect selected fields on ReflectionToStringBuilder

2021-07-08 Thread Mark Dacek
I'm not sure whether the example given is indicative of all of your use cases, but calling* setExcludeNullValues(true)* would accomplish your above goal. On Wed, Jul 7, 2021 at 6:57 PM Daniel Augusto Veronezi Salvador < dvsalvador...@gmail.com> wrote: > Thanks for the reply Rob, > > To examplify