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

Implement Find command #63

Merged
merged 6 commits into from
Oct 10, 2024

Conversation

kyouscrap
Copy link

No description provided.

Find command will not work with the Person class that is modelled
after a patient.

A find command that is able to search a specific field of a Person
will allow the command to be more precise.

Let's,
* update the Find command to work with the new Person class
* include the functionality to search by the id and ward field.
Tests should use FieldContainsKeywordPredicate instead of
NameContainsKeywordPredicate.

PersonBuilder is lacking the withId and withWard functions.

Let's make tests use this FieldContainsKeywordPredicate and
implement the withId and withWard functions in PersonBuilder.
@kyouscrap kyouscrap added this to the v1.2 milestone Oct 10, 2024
@kyouscrap kyouscrap linked an issue Oct 10, 2024 that may be closed by this pull request
@choonzies choonzies merged commit 323e9ea into AY2425S1-CS2103T-T15-3:master Oct 10, 2024
3 checks passed
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.

Implement find command feature
3 participants