-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initting objects does not have nil defaults. #239
Comments
It's not immediately clear how to fix this. I note that the Stripe* conformances do have nil parameters:
|
same problem. i get: #100 as similar problem i could encounter is creating a webhookEndpoint: try await stripe.webhookEndpoints.create(
enabledEvents: ["charge.succeeded", "charge.failed"],
url: "https://example.com/webhook",
apiVersion: nil,
description: nil,
metadata: nil,
connect: nil) one can cast to route, here is a workaround: let paymentIntent = stripe.paymentIntents as! StripePaymentIntentRoutes
try await paymentIntent.create( amount: 2500, currency: .usd, expand: ["customer"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See below:
Codebase gets bloated as a result
The text was updated successfully, but these errors were encountered: