Michael Broshi
Michael Broshi
@stevez86 This is an old issue, but I wanted to follow up. It appears those fields no longer exist in our API. Does this resolve your issue?
Hi @gkiely! Checking in to see if you still plan on continuing this work
@Jayant-saksham thanks for putting together this submission, but we're not looking to update our examples at this time.
This is being tracked in https://github.com/stripe/stripe-go/issues/1937, so closing out this PR.
👋 Hi @m-mattia-m! Thanks for raising this issue! I'm trying to understand what you mean by > However, the stripe-go-sdk regard these attributes as required attributes and not as optional....
I apologize, but I'm still having trouble understanding this bit: > So what I meant was that the stripe-go struct expected to get a complete object What does that mean...
@m-mattia-m Did you try replacing `StripeWebhookEventRequest` with `stripe.Event` in these lines: https://github.com/m-mattia-m/stripe-go-event-bug-report/blob/main/main.go#L42-L43? When I do that I get `204` responses from the webhook.
Thanks @m-mattia-m for the explanation! I was not familiar with Huma, but I see that it is opinionated on how it validates JSON: https://huma.rocks/features/request-validation/#optional-required. We do not have any plans...
To be clear, `omitempty` is applicable to JSON _encoding_ of Stripe objects, which is not part our API surface (our API inputs are form-encoded). Relying on JSON encoding for production...
Thanks for creating this issue! I can definitely see that it is difficult to return a strongly typed `Locale` from an arbitrary string. To be honest, your workaround is probably...