aws / aws/jsii

(jsii-reflect): getInterfaces(true) returns duplicates

Open
#3,152 0 comments 0 reactions 0 assignees View on GitHub
bug effort/small p1
Dominant language
TypeScript
Stars
2.9k
Forks
267
Avg merge
1d 25m
Merged PRs (30d)
14

Description

## :bug: Bug Report

Seen on the CDK universal documentation site:

![image](https://user-images.githubusercontent.com/524162/141144173-6ab534a0-d427-4c6f-88b7-099e16792025.png)

Simply the result of calling:

![image](https://user-images.githubusercontent.com/524162/141144267-8eb6df8a-fbf8-4495-bfd9-0abfef9e7646.png)

According to its implementation, jsii-reflect should not be returning dupes, but it is.

Contributor guide

Open the contributing guide

Research direction

Start at the jsii-reflect implementation of getInterfaces(true) and reproduce the reported duplicate result using the call shown in the issue. Done when the result contains no duplicate interfaces and a regression test covers the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.