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

FakeBookingSystem switches between Opportunity types instead of using inheritance #92

Open
civsiv opened this issue Feb 11, 2021 · 0 comments

Comments

@civsiv
Copy link
Contributor

civsiv commented Feb 11, 2021

In several places in FakeBookingSystem, case switching based on opportunity type (for example OccurrenceId.SlotId.HasValue? do blah.... is used. This makes it very difficult to extend this to more opportunity types other than classes and slots, for example IndividualFacilityUse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant