aws / aws/aws-pdk

[BUG] Passing a smithy api to Infrastructure results in namespace being prepended in the variable and class name

Open
#788 2 comments 0 reactions 0 assignees View on GitHub
backlog bug needs-triage
Dominant language
TypeScript
Stars
451
Forks
84
Avg merge
20h 3m
Merged PRs (30d)
1

Description

### Describe the bug

Passing a smithy api to Infrastructure results in namespace being prepended in the variable and class name

### Expected Behavior

just the name should be used

### Current Behavior

namespace is prepended to class and variable names

### Reproduction Steps

Passing a smithy api to Infrastructure results in namespace being prepended in the variable and class name

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### PDK version used

latest

### What languages are you seeing this issue on?

Typescript, Java, Python

### Environment details (OS name and version, etc.)

all

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by reproducing the problem when passing a Smithy API to Infrastructure, then compare the generated TypeScript, Java, and Python class and variable names with the expected unqualified names. Done means the namespace is no longer prepended in any affected language.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python, typescript
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.