attempting to do:
redis -> if (noRedisData) -> graphQL
error:
problem is, this app provides the ability for the user to enter either: "username" || "email" alongside password to
if this is so, I'd prefer to keep the redis cache as performant and solid with only needed data as possible.
if the same user logs in twice but uses: { 1: email } { 2: username } there will be 2 data instead of 1.
proposed approach:
0: strip away the ability to enter username and restrict signup to username
1: allow redis to have 2 data per user for this one route.
attempting to do: redis -> if (noRedisData) -> graphQL
error: problem is, this app provides the ability for the user to enter either: "username" || "email" alongside password to if this is so, I'd prefer to keep the redis cache as performant and solid with only needed data as possible. if the same user logs in twice but uses: { 1: email } { 2: username } there will be 2 data instead of 1.![Screen Shot 2023-07-17 at 2 40 14 PM](https://github.com/frankcollins3/Next-Water-App/assets/73137934/2242048d-731e-4848-b8bd-b9aa8ee4f64b)
proposed approach: 0: strip away the ability to enter username and restrict signup to username
1: allow redis to have 2 data per user for this one route.