question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using Struct inside a script removes the parameter input field

See original GitHub issue

Describe the bug If a struct is added to a script that has arguments, the input field in the execution modal disappears.

To Reproduce Steps to reproduce the behavior:

https://user-images.githubusercontent.com/97620081/150460313-c8d29ec1-5c7f-4cb9-8e8f-a0208bb54e7e.mov

Expected behavior The input field for the argument(s) is shown.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
turbolentcommented, Feb 15, 2022

I fixed the NPM package and published v0.20.2 of it at https://www.npmjs.com/package/@onflow/cadence-language-server

0reactions
MaxStalkercommented, Feb 15, 2022

Fixed in #222 Should be available in next Playground deployment.

@turbolent thank you for your help 🙇

Read more comments on GitHub >

github_iconTop Results From Across the Web

The 'in'-modifier and the readonly structs in C# - Developer ...
If the struct is readonly then the compiler removes the defensive copy the same way as it does for readonly fields. It means...
Read more >
Remove field from array.struct in Spark - scala - Stack Overflow
I am using a UDF because df.map() is not good for mapping specific column and it forces to indicates all columns. So I...
Read more >
Struct Code Examples - Rocket Software
The following ProcScript modules demonstrate the use of Structs. ; After testing the component, display the message frame to view the results. call ......
Read more >
unmarshal to workflow struct failed,if outputs.parameters.value ...
Summary ; type Parameter ; struct ; // Value is the literal value to use for the parameter. // If specified in the...
Read more >
Organize Related Block Parameter Definitions in Structures
Create a parameter structure that contains a substructure for each subsystem. Use the values of the existing variables to set the field values....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found