You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: elaborate TODOs
* Feature/remove remainingattendeecapacity from b (#229)
* feat: remove remainingAttendeeCapacity and maximumAttendeeCapacity from B response
* remove from P response too
* Update OpenActive.Server.NET/CustomBookingEngine/CustomBookingEngine.cs
Co-authored-by: Luke Winship <luke.winship@gmail.com>
* elaborate a todo
---------
Co-authored-by: Luke Winship <luke.winship@gmail.com>
// TODO: This should reuse code of LeaseOrderItem to be DRY. Similar logic is also used in ProposeOrderItems as well as
517
+
// in LeaseOrderItems, BookOrderItems, and ProposeOrderItems in the FacilityStore. The issue for this is: https://github.com/openactive/OpenActive.Server.NET/issues/226
// Remove attendee capacity information from the OrderedItem. For more information see: https://github.com/openactive/open-booking-api/issues/156#issuecomment-926643733
// TODO check logic here, it's just been copied from BookOrderItems. Possibly could remove duplication here.
581
+
// TODO check logic here, it's just been copied from BookOrderItems. Possibly could remove duplication here. Common logic between this, BookOrderItems, and LeaseOrderItems should be pulled out.
// Remove attendee capacity information from the OrderedItem. For more information see: https://github.com/openactive/open-booking-api/issues/156#issuecomment-926643733
// TODO: This should reuse code of LeaseOrderItem to be DRY. Similar logic is also used in ProposeOrderItems as well as
528
+
// in LeaseOrderItems, BookOrderItems, and ProposeOrderItems in the SessionStore. The issue for this is: https://github.com/openactive/OpenActive.Server.NET/issues/226
// Remove attendee capacity information from the OrderedItem. For more information see: https://github.com/openactive/open-booking-api/issues/156#issuecomment-926643733
// TODO check logic here, it's just been copied from BookOrderItems. Possibly could remove duplication here.
602
+
// TODO check logic here, it's just been copied from BookOrderItems. Possibly could remove duplication here. Common logic between this, BookOrderItems, and LeaseOrderItems should be pulled out.
// Remove attendee capacity information from the OrderedItem. For more information see: https://github.com/openactive/open-booking-api/issues/156#issuecomment-926643733
// Push the change into the future to avoid it getting lost in the feed (see race condition transaction challenges https://developer.openactive.io/publishing-data/data-feeds/implementing-rpde-feeds#preventing-the-race-condition)
// Push the change into the future to avoid it getting lost in the feed (see race condition transaction challenges https://developer.openactive.io/publishing-data/data-feeds/implementing-rpde-feeds#preventing-the-race-condition) // TODO: Document this!
1345
+
// Push the change into the future to avoid it getting lost in the feed (see race condition transaction challenges https://developer.openactive.io/publishing-data/data-feeds/implementing-rpde-feeds#preventing-the-race-condition)
// Create a lookup of each IdTemplate to pass into the appropriate RpdeGenerator
73
-
// TODO: Output better error if there is a feed assigned across two templates
74
-
// (there should never be, as each template represents everyting you need in one feed)
73
+
// TODO: Output better error if there is a feed assigned across two templates (there should never be, as each template represents everyting you need in one feed)
if(orderType!=OrderType.Order)thrownewArgumentOutOfRangeException(nameof(orderType),"The Open Booking API 1.0 specification only permits OrderItem Ids to exist within Orders, not OrderQuotes or OrderProposals.");
if(orderType!=OrderType.Order)thrownewArgumentOutOfRangeException(nameof(orderType),"The Open Booking API 1.0 specification only permits OrderItem Ids to exist within Orders, not OrderQuotes or OrderProposals.");
if(orderType!=OrderType.Order)thrownewArgumentOutOfRangeException(nameof(orderType),"The Open Booking API 1.0 specification only permits OrderItem Ids to exist within Orders, not OrderQuotes or OrderProposals.");
0 commit comments