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 am attempting to create a new trait which uses the idRef trait. The new trait lets members in structs be linked to members of other structs. When I reference a struct member from the trait using the @traitName(StructName$memberName) syntax I get the following parsing error when loading the model using the Smithy assembler: Expected RPAREN(')') but found DOLLAR('$'). Is this the expected behavior for referencing members within traits, or should it be possible?
This is a minimal example which demonstrates the behavior:
This model appears to be valid when parsed by both the Smithy LSP and Intellij Smithy Plugin syntax highlighting.
I also noticed that I can replace @link(StructA$id) with a fully qualified string like @link("example#StructA$Id") and it will parse and assemble correctly.
The text was updated successfully, but these errors were encountered:
I am attempting to create a new trait which uses the
idRef
trait. The new trait lets members in structs be linked to members of other structs. When I reference a struct member from the trait using the@traitName(StructName$memberName)
syntax I get the following parsing error when loading the model using the Smithy assembler:Expected RPAREN(')') but found DOLLAR('$')
. Is this the expected behavior for referencing members within traits, or should it be possible?This is a minimal example which demonstrates the behavior:
This model appears to be valid when parsed by both the Smithy LSP and Intellij Smithy Plugin syntax highlighting.
I also noticed that I can replace
@link(StructA$id)
with a fully qualified string like@link("example#StructA$Id")
and it will parse and assemble correctly.The text was updated successfully, but these errors were encountered: