Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproducable TypeScript output #1159

Closed
rnm-sxm opened this issue Jan 16, 2024 · 1 comment · Fixed by #1179
Closed

Reproducable TypeScript output #1159

rnm-sxm opened this issue Jan 16, 2024 · 1 comment · Fixed by #1179
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rnm-sxm
Copy link
Contributor

rnm-sxm commented Jan 16, 2024

When I run the typescript generator, I expect the output to be consistent from run to run.

What are the steps to reproduce this issue?

  1. Run npx orval in the attached workspace

What happens?

Structures and/or other elements may occur in different orders in the output TypeScript file (gen/reproduce.ts)

What were you expecting to happen?

Every time the generator is run, the output should be identical.

Any logs, error output, etc?

N/A

Any other comments?

None

What versions are you using?

Operating System: Xubuntu 22.04
Package Version: Oval 6.23.0
Browser Version: N/A

reproduce.tar.gz

@melloware melloware added the bug Something isn't working label Jan 16, 2024
@melloware melloware changed the title Reproducable output Reproducable TypeScript output Jan 16, 2024
@melloware
Copy link
Collaborator

I know this has been fixed in Other reproducers like React Query i know used to generate random order but now generates the same file every time. So I am sure the same fix needs to be applied here...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants