Selaa lähdekoodia

Fix saving out a helper function's result.

Sam Jaffe 5 vuotta sitten
vanhempi
commit
93bb52572f

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