You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that the issue originates from smithy-model. This is because we're missing the location for the SyntheticEnumTrait that's created and where the validation happen. Because the location is not there, the language server can bind the validation error to a Diagnostic on a file.
Take the following model:
Building this model fails with something like:
But the language server does not give any highlighting or underlying indicating that enums must have at least one entry.
The text was updated successfully, but these errors were encountered: