hyper-recipes icon indicating copy to clipboard operation
hyper-recipes copied to clipboard

Should instructions be an array instead?

Open ealmdahl opened this issue 10 years ago • 4 comments

Or maybe have an array with ingredients? "ingredients": [ "4 apples", "3 diamonds", "a pinch of thyme"] or "ingredients": [{"name": "apples", "amount" : "4"}, {"name" : "diamonds", "amount" : "3"}, {"name" : "thyme", "amount" : "a pinch of"}]

ealmdahl avatar Mar 11 '15 14:03 ealmdahl

:+1: on having an array with ingredients! I guess that could make sense for the instructions, too, but then perhaps we should rename it to steps or something.

jgorset avatar Mar 11 '15 16:03 jgorset

It can still be named instructions but been an array instead

3lvis avatar Mar 12 '15 08:03 3lvis

I think we should have both! One array for instructions and one for ingredients.

ealmdahl avatar May 20 '15 12:05 ealmdahl

Two arrays sounds good! :+1:

3lvis avatar May 20 '15 12:05 3lvis