Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add hasSetupGoals on user's schema #562

Open
arnaudambro opened this issue Apr 16, 2024 · 0 comments
Open

fix: add hasSetupGoals on user's schema #562

arnaudambro opened this issue Apr 16, 2024 · 0 comments

Comments

@arnaudambro
Copy link
Contributor

the implicit rule today is: if no goal is found, then the user didn't setup any goal

this implies to have a logic of goal's creation for the next week a bit 🤯

what we should do is:

  • add to the user the current goals properties
  • when no goal for the current week exists, create a new goal item with the user's current goals properties

easier to understand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant