Skip to content

Align the way rust and typescript are defining field paramaters #774

@dmtrKovalenko

Description

@dmtrKovalenko

Is your feature request related to a problem? Please describe.
Seeing the PR #751 made me think that it would be possible to resolve the problem I am struggling with for quite some time.

In rust

let value = MyStruct {
   my_param: 13
};

If I want to work with my_param I need to use @parameter text object, but in typescript with the exact same code

let value = MyStruct {
  my_param: 13
}

I have to use @variable for whatever reason

Describe the solution you'd like
Have similar code in different languages to be handled in the similar way either @parameter or @Attribute in both cases

Describe alternatives you've considered
to suffer

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions