Skip to content
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

Classes do not correctly list all interfaces they implement #590

Open
Chriscbr opened this issue Feb 2, 2022 · 0 comments
Open

Classes do not correctly list all interfaces they implement #590

Chriscbr opened this issue Feb 2, 2022 · 0 comments
Labels
bug This issue is a bug. p1

Comments

@Chriscbr
Copy link
Contributor

Chriscbr commented Feb 2, 2022

The AWS CDK documentation shows the interfaces that are implemented by a given class:

Screen Shot 2022-02-02 at 2 56 04 PM

This is mirrored in jsii-docgen, except the information doesn't always match. For example on Construct Hub (which uses jsii-docgen under the hood), the page for CfnAccessPoint says that it only implements IInspectable (at the time of creating this issue) -- but the AWS CDK API Reference shows that it implements IInspectable, IConstruct, and IDependable.

My hunch is that there is a bug in how we're obtaining the list of interfaces -- perhaps the code is omitting interfaces implemented by superclasses, or omitting interfaces that are extended by other interfaces, etc.

@Chriscbr Chriscbr added bug This issue is a bug. p1 backlog labels Feb 2, 2022
@Chriscbr Chriscbr assigned Chriscbr and unassigned Chriscbr Feb 4, 2022
@Chriscbr Chriscbr removed the backlog label Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. p1
Projects
None yet
Development

No branches or pull requests

1 participant