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 will not share our yaml, as it can contain confidential information I am not allowed to share.
Describe the bug you're encountering
There are a couple of issues with the rust code generation.
Firstly when there is a recursive type, in our case three structs that reference each other. The rust compiler complains that there is an infinite size.
This can be easily solved by adding a Box<> around those members.
To reproduce...
Steps to reproduce the behavior:
Make a yaml with a circular reference within its models
Generate a rust client
Try to build
See compiler error
Expected behavior
I expect the rust client generator to generate working code.
Additional context or thoughts
The text was updated successfully, but these errors were encountered:
Q&A (please complete the following information)
Content & configuration
I will not share our yaml, as it can contain confidential information I am not allowed to share.
Describe the bug you're encountering
There are a couple of issues with the rust code generation.
Firstly when there is a recursive type, in our case three structs that reference each other. The rust compiler complains that there is an infinite size.
This can be easily solved by adding a Box<> around those members.
To reproduce...
Steps to reproduce the behavior:
Expected behavior
I expect the rust client generator to generate working code.
Additional context or thoughts
The text was updated successfully, but these errors were encountered: