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

Make Implementation, Algorithm, and their Dtos abstract #202

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

emymaria
Copy link
Contributor

@emymaria emymaria commented Nov 3, 2021

Short Description

This PR is for the purpose of review. This is not a completed task.
The code is getting compiled but there are too many test cases failing (298).
Task: Implementation, ImplementationDto, Algorithm, AlgorithmDto should be abstract..

Issues Faced

  1. ModelMapper changes.
    Unable to use AlgorithmService in ModelMapperUtils. The instance of AlgorithmService is getting initialised as null. ModelMapper is used for class convertions in most of the test classes and controllers. Most of the test case failures are as of now is because of the ModelMapper.

  2. AlgorithmRelation class has 2 fields which are of Algorithm type. So during runtime AlgorithmRelation class can no longer be instantiated. Is there anyway I can use either of two types for a field in a class.

Fixes: #

@emymaria emymaria requested a review from salmma November 3, 2021 14:51
@salmma salmma linked an issue Dec 14, 2021 that may be closed by this pull request
2 tasks
@salmma salmma added the WIP label Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make Implementation, Algorithm, and their Dtos abstract
2 participants