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

Show popular goals #63

Closed
wants to merge 10 commits into from

Conversation

raquellenn
Copy link
Collaborator

@raquellenn raquellenn changed the base branch from development to saulo/domain-definition-disl December 21, 2022 14:59
@raquellenn raquellenn self-assigned this Dec 22, 2022
Comment on lines 5 to 12
Repository
showPopularGoals? :qty

find challenges with the same goal and group them in a arrayNameGoal
for each arrayNameGoal count the lenght
order the arrayNameGoal by descending lenght of the array

then return :qty Goals
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be inside the context. Also...

  • What is the name of the repository?
  • Repositories do not handle commands. You need a service for this command since it manipulates many instances
  • You'll still need a repository with a method that has a similar name and does the actual query

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont know if a get it...do you want me to write the repository in this file ?

@sonarcloud
Copy link

sonarcloud bot commented Dec 30, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@svallory
Copy link
Member

Merged via #69

@svallory svallory closed this Jan 10, 2023
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

Successfully merging this pull request may close these issues.

2 participants