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

Flp 606 Add standards and standard versions info to start date query to enable validation #1420

Merged
merged 13 commits into from
May 1, 2024

Conversation

tom-gough
Copy link
Contributor

No description provided.

# Conflicts:
#	src/Apprenticeships/SFA.DAS.Apprenticeships.UnitTests/Application/Apprenticeship/WhenGettingApprenticeshipStartDate.cs
#	src/Apprenticeships/SFA.DAS.Apprenticeships/Application/Apprenticeship/GetApprenticeshipStartDateQuery.cs
#	src/Apprenticeships/SFA.DAS.Apprenticeships/Responses/ApprenticeshipStartDateResponse.cs
#	src/Shared/SFA.DAS.SharedOuterApi/InnerApi/Responses/Apprenticeships/GetApprenticeshipStartDateResponse.cs
…tandardInfo (e.g. if there is a standard version with no effective to date it is open and so any date after the effective from is valid
Copy link
Contributor

@dinathain dinathain left a comment

Choose a reason for hiding this comment

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

Some quick wins to address the unit test & log structure, so happy to approve once that's neatened up :)


if (apprenticeshipStartDateOuterModel.Standard.StandardVersion == null)
{
_logger.LogWarning($"No standard version data available for apprenticeshipKey:{request.ApprenticeshipKey}");
Copy link
Contributor

Choose a reason for hiding this comment

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

same comment here

@ShakilUmar ShakilUmar changed the base branch from FLP-Release-6.8 to FLP-Release-6.9 April 30, 2024 09:16
@ShakilUmar ShakilUmar merged commit 3e84be7 into FLP-Release-6.9 May 1, 2024
47 checks passed
@ShakilUmar ShakilUmar deleted the FLP-606-validate-standard-versions branch May 1, 2024 10:36
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.

None yet

3 participants