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

refactor: standardising opportunityAndSuggestions method #585

Open
wants to merge 42 commits into
base: main
Choose a base branch
from

Conversation

martinst06
Copy link
Contributor

@martinst06 martinst06 commented Jan 15, 2025

As discussed with @alinarublea -

An opportunity data mapper is created for each handler that works with opportunities instead of the data being directly being defined in each handler

Made a standard function for converting to opportunities for the post processor instead of redundantly redefining the same function

@martinst06 martinst06 self-assigned this Jan 15, 2025
…into generalise-opportunity-and-suggestions

merge from main
Copy link

This PR will trigger no release when merged.

@martinst06 martinst06 marked this pull request as draft January 16, 2025 16:22
@martinst06 martinst06 marked this pull request as ready for review January 24, 2025 15:22
@solaris007
Copy link
Member

@martinst06 - thanks for your PR! could you add a description to the PR what the purpose and details of your changes are? also the PR title should be feat: ...

@martinst06 martinst06 changed the title Generalise opportunity and suggestions refactor: standardising opportunityAndSuggestions method Jan 24, 2025
src/backlinks/handler.js Outdated Show resolved Hide resolved
src/backlinks/handler.js Outdated Show resolved Hide resolved
src/backlinks/opportunityDataMapper.js Outdated Show resolved Hide resolved
src/backlinks/opportunityDataMapper.js Outdated Show resolved Hide resolved
src/backlinks/handler.js Show resolved Hide resolved
src/common/opportunity.js Show resolved Hide resolved
src/common/opportunity.js Outdated Show resolved Hide resolved
src/common/opportunity.js Outdated Show resolved Hide resolved
src/common/opportunity.js Outdated Show resolved Hide resolved
src/common/opportunity.js Outdated Show resolved Hide resolved
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