소스 검색

Fix saving out a helper function's result.

Sam Jaffe 5 년 전
부모
커밋
93bb52572f
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/main/lombok/org/leumasjaffe/recipe/model/RecipeComponent.java

+ 3 - 0
src/main/lombok/org/leumasjaffe/recipe/model/RecipeComponent.java

@@ -3,6 +3,9 @@ package org.leumasjaffe.recipe.model;
 import java.util.Collection;
 import java.util.stream.Stream;
 
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+
+@JsonIgnoreProperties("ingredientsAsStream")
 interface RecipeComponent {
 	Collection<Ingredient> getIngredients();
 	Duration getDuration();