scottrohrig / apple-orchard-games

Plant trees to harvest apples. Sell apples to buy upgrades. Sell apples and wares to make the most money and top the leaderboard!
https://happy-harvesters.herokuapp.com/
8 stars 5 forks source link

Juicers actions, reducers, mutations, queries, resolvers, typeDefs #10

Open scottrohrig opened 2 years ago

scottrohrig commented 2 years ago

Description

Make a full vertical slice of the Juicers object to allow for refining all the necessary components and test feature implementation.

Expected Behavior

Juicer should have the following operations

Current Behavior

stuart-rickard commented 2 years ago

Add juicer button is working with GlobalState. money and apples are updated when the button is pushed. I am unclear why "try" is being used for this dispatch, but I left that alone.

It does not update the server-side database, so I am not closing this issue because "full vertical slice" and "mutations" indicates this should include the server too. Nevertheless, expected behavior is as stated above.

scottrohrig commented 2 years ago

Have startedAtTime persist on reload.