This repository was archived by the owner on May 15, 2025. It is now read-only.
This repository was archived by the owner on May 15, 2025. It is now read-only.
Typing out enum value in a trait will trigger a pop up until you have the right value #24
Open
Description
given the following smithy definition
@trait(selector: "service")
structure compat {
@required
mode: CompatMode
}
@enum([
{ name: "BACKWARD", value: "BACKWARD" },
{ name: "FORWARD", value: "FORWARD" },
{ name: "NONE", value: "NONE" }
])
string CompatMode
Adding the trait to a service, and typing out {mode: "...NONE"}
you'll see tons of popup warning on the bottom right as you type the right value.
This might also affect completion. We should be able to autocomplete the string, but as of right now, it does not work.
Metadata
Metadata
Assignees
Labels
No labels