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
When serializing a model with an @idRef String shape, the SmithyIdlSerializer will always render the ShapeId unquoted.
This causes problems when loading the serialized model, because the shape may or may not exist (if failWhenMissing isn't used, this isn't a problem beforehand).
software.amazon.smithy.model.validation.ValidatedResultException: Result contained ERROR severity validation events:
[DANGER] -: Syntactic shape ID `Baz` does not resolve to a valid shape ID: `foo.bar#Baz`. Did you mean to quote this string? Are you missing a model file? | SyntacticShapeIdTarget test.smithy:15:8
When serializing a model with an
@idRef
String shape, theSmithyIdlSerializer
will always render the ShapeId unquoted.This causes problems when loading the serialized model, because the shape may or may not exist (if
failWhenMissing
isn't used, this isn't a problem beforehand).For example:
Becomes:
which gets rejected when loading:
Full reproduction in scala-cli:
The text was updated successfully, but these errors were encountered: