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
I believe this is a problem with typeconv, which is the library we use to define the JSON schemas. I have found that for enums, I have to just do something like
type DeliveryType = 'homedelivery' | 'post_pickup_point' | 'cargo_homedelivery';, which is less than ideal, but I'm not sure there's much we can do about it.
Activity
bfaulk96 commentedon Oct 13, 2022
I believe this is a problem with
typeconv, which is the library we use to define the JSON schemas. I have found that for enums, I have to just do something liketype DeliveryType = 'homedelivery' | 'post_pickup_point' | 'cargo_homedelivery';, which is less than ideal, but I'm not sure there's much we can do about it.lmanerich commentedon May 10, 2023
Sad thing that is not even possible to use: