Skip to content

[FME-4033] prerequisites evaluator #665

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

Conversation

MartinCardozo-SDK
Copy link
Contributor

iOS SDK

What did you accomplish?

New PrerequisitesMatcher. New result label and new step in Evaluator (class cleanup too)

How do we test the changes introduced in this PR?

Extra Notes

Matcher in next PR

@MartinCardozo-SDK MartinCardozo-SDK changed the base branch from master to FME-2963-prerequisites_baseline May 26, 2025 20:43
@MartinCardozo-SDK MartinCardozo-SDK marked this pull request as ready for review May 26, 2025 20:49
@MartinCardozo-SDK MartinCardozo-SDK requested a review from a team as a code owner May 26, 2025 20:49
Copy link
Contributor

@sanzmauro sanzmauro left a comment

Choose a reason for hiding this comment

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

I don't see any tests. Please add them.

@MartinCardozo-SDK
Copy link
Contributor Author

I have them in the next PR (since in this one the Matcher always returns true)

@MartinCardozo-SDK
Copy link
Contributor Author

MartinCardozo-SDK commented May 27, 2025

There are new tests. This matcher is the only one that the evaluator must know, so I wasn't sure about the best way of linking them and testing it. I would appreciate some feedback on that.

@sanzmauro sanzmauro changed the title Fme 2963 prerequisites evaluator [FME-4043] prerequisites evaluator May 27, 2025
@sanzmauro sanzmauro changed the title [FME-4043] prerequisites evaluator [FME-4033] prerequisites evaluator May 27, 2025
@MartinCardozo-SDK MartinCardozo-SDK changed the base branch from FME-2963-prerequisites_baseline to FME-2963-prerequisites_matcher May 28, 2025 13:04
@MartinCardozo-SDK MartinCardozo-SDK marked this pull request as draft May 28, 2025 13:13
@MartinCardozo-SDK MartinCardozo-SDK changed the base branch from FME-2963-prerequisites_matcher to FME-2963_prerequisites_matcher May 28, 2025 17:17
@MartinCardozo-SDK MartinCardozo-SDK changed the base branch from FME-2963_prerequisites_matcher to FME-2963-prerequisites_matcher May 28, 2025 17:17
@MartinCardozo-SDK MartinCardozo-SDK marked this pull request as ready for review May 28, 2025 17:41
Comment on lines +180 to +182
internal func overridePrerequisitesMatcher(_ factory: @escaping ([Prerequisite]) -> MatcherProtocol) {
prerequisitesMatcherFactory = factory
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Cool. Maybe I'd put it in an extension if possible but this is a good approach 👍

@MartinCardozo-SDK MartinCardozo-SDK changed the base branch from FME-2963-prerequisites_matcher to FME-2963-prerequisites_baseline May 28, 2025 20:50
@MartinCardozo-SDK MartinCardozo-SDK merged commit 3b0812b into FME-2963-prerequisites_baseline May 30, 2025
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.

3 participants