-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: elaborate TODOs #227
Conversation
@@ -417,20 +417,24 @@ public Uri RenderOrderId(OrderType orderType, Guid uuid) | |||
return this.RenderOrderId(new OrderIdComponents { OrderType = orderType, uuid = uuid }); | |||
} | |||
|
|||
//TODO reduce duplication of the strings / logic below |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implemented
// TODO: add this error class to the library | ||
// CS: Is this still the case? Unclear where this library is, and hard to believe OpenBookingError would not be in the libary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not fully sure I understand what this is talking about, so ignore me if this is irrelevant, but it looks like OpenBookingError
is part of OpenActive.NET (here).
Could this comment be referring to OpenBookingException? And if so, what library..?
Or maybe it means that there should be a special OnlyBookableOpportunitesPermittedInTestInterfaceError class or something, idk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeh I'm also very confused by the comment. I think OnlyBookableOpportunitesPermittedInTestInterfaceError in OpenActive.Net makes most sense so will amend the comment
OpenActive.Server.NET/CustomBookingEngine/CustomBookingEngine.cs
Outdated
Show resolved
Hide resolved
// TODO: The static example below should come from the database (which doesn't currently support tax) | ||
// This is because it can be different for each Seller and needs to calculated at the time of booking |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this cause any bugs at present? If yes then maybe should be a GH issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, not yet I think
* feat: remove remainingAttendeeCapacity and maximumAttendeeCapacity from B response * remove from P response too
Co-authored-by: Luke Winship <[email protected]>
Closes: #225