shopify-api-js
shopify-api-js copied to clipboard
Enhancement Query: Nullable Fields in gift_card Type
Overview/summary
First and foremost, I would like to express my gratitude for the work you’ve done with this library; it’s been invaluable to our projects.
I'm reaching out to inquire about the design decisions regarding the gift_card type, specifically concerning the nullable fields as seen here: gift_card.ts#L178.
We've noticed that the need to check for null values in these fields frequently adds complexity to our codebase. Could you please provide some insight into the reasoning behind making these fields nullable? Understanding the rationale might help us better handle these cases or contribute to a potential enhancement if appropriate. Ty!