Skip to content

Conversation

rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Sep 15, 2025

Add support for intersection types to the rest of the jsii toolkit.

This is currently using a prerelease version of the jsii compiler drafted here: aws/jsii-compiler#2325


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

In some places union types are rendered to overloaded setters, and in
other places the type is collapsed to `Object`. Whenever the type is
collapsed to `Object`, any other type information is lost for the user.

In this PR, emit the union type information to XML docs so users can find it again.

Also update the JavaDoc handler to handle type intersections.
@rix0rrr rix0rrr requested a review from a team September 15, 2025 08:46
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant