Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
muriloalvesdev committed Nov 17, 2024
1 parent b6877fc commit fcf4cf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void apply(ExcludeFields excludeFields, Object result) throws IllegalAcce
SpelExpressionParser parser = new SpelExpressionParser();

StandardEvaluationContext context =
new StandardEvaluationContext(result); // Define the root object as `result`
new StandardEvaluationContext(result);
context.setBeanResolver(new BeanFactoryResolver(this.applicationContext));

for (Field field : resultClass.getDeclaredFields()) {
Expand Down

0 comments on commit fcf4cf6

Please sign in to comment.