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

Refactored common elements of GenerateAssertionsRequest.java and GetA… #52

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

vteague
Copy link
Member

@vteague vteague commented Mar 27, 2024

…ssertionsRequest.java into an abstract superclass called ContestRequest.java

Completes #51

…ssertionsRequest.java into an abstract superclass called ContestRequest.java
@vteague vteague requested a review from michelleblom March 27, 2024 10:52
Copy link
Member

@michelleblom michelleblom left a comment

Choose a reason for hiding this comment

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

I have left some commenting requests, but these can be done in the InputVerification branch before merging into main.

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.annotation.ReadOnlyProperty;

Copy link
Member

Choose a reason for hiding this comment

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

What do we mean by "request describing a contest"? What is this class of contest requests for?

Copy link
Member Author

Choose a reason for hiding this comment

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

I changed it to 'identifying a contest and listing its candidates' - its an abstract class that summarises only those things that are common to all requests. Maybe I haven't made it very clear - feel free to suggest better wording.

@@ -13,22 +13,13 @@ the raire assertion generation engine (https://github.com/DemocracyDevelopers/ra

import au.org.democracydevelopers.raireservice.persistence.repository.ContestRepository;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.annotation.ReadOnlyProperty;

Copy link
Member

Choose a reason for hiding this comment

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

I'm still not sure what it means for a request to "describe a contest".

Copy link
Member Author

Choose a reason for hiding this comment

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

Changed to "identifying the contest..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants