Преглед на файлове

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();