stripe-java icon indicating copy to clipboard operation
stripe-java copied to clipboard

Provide Reachability Metadata

Open akefirad opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe.

Without the runtime hints, it's not possible to use the SDK in native images.

Describe the solution you'd like

To be able to use the SDK in native images without providing runtime hints (but the user).

Describe alternatives you've considered

The alternative in Spring is to generate the runtime hints during AoT. However the end user (of the SDK) is not the best person to write such hints. (For example, since I didn't know what to add, I added hints for full reflection of all classes in model and param packages. The JSON file is 1.1MB big and has more than 4K entries.)

Additional context

No response

akefirad avatar Nov 23 '22 19:11 akefirad

Hi @akefirad, thanks for submitting a feature request! I've brought this to the team's attention. It might take us a while to get to this because of other commitments, but marking for the future.

anniel-stripe avatar Nov 23 '22 21:11 anniel-stripe

I have successfully used configurations generated with https://github.com/youba/stripe-java-graalvm

erkieh avatar Nov 16 '24 14:11 erkieh

Hi! Is it possible to look into this again?

It would be awesome if you could provide this out-of-the-box.

rickie avatar Oct 17 '25 19:10 rickie