Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Conversation

@sgerrand
Copy link
Contributor

@sgerrand sgerrand commented Dec 31, 2021

💁 These changes account for null values potentially being returned for Order.slices[].segments[].passengers[].seat (docs).

@sgerrand sgerrand added the bug Something isn't working label Dec 31, 2021
The API documentation for `Order.slices.segments.passengers.seat` said
that the value wasn't nullable, which wasn't correct. These changes
update the `Order` model to allow that field to be returned with a null
value.

https://duffel.com/docs/api/orders/schema#orders-schema-slices-slices-segments-slices-segments-passengers-slices-segments-passengers-seat
@sgerrand sgerrand force-pushed the order-handle-null-seat-details branch from c8c11b5 to eca8f04 Compare December 31, 2021 16:04
@sgerrand sgerrand marked this pull request as ready for review December 31, 2021 16:06
@sgerrand sgerrand requested a review from a team December 31, 2021 16:06
@sgerrand sgerrand requested a review from a team as a code owner December 31, 2021 16:06
@sgerrand sgerrand requested review from gardym, jesse-c and nlopes and removed request for gardym December 31, 2021 16:06
@sgerrand sgerrand merged commit dd76731 into main Dec 31, 2021
@sgerrand sgerrand deleted the order-handle-null-seat-details branch December 31, 2021 16:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants