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

fix(pipelines): fixing environment format #2473

Merged
merged 1 commit into from May 2, 2023
Merged

Conversation

xoscar
Copy link
Collaborator

@xoscar xoscar commented May 2, 2023

This PR updates the environment format used for the pipelines, it also fixes an issue of having the environment id to be read-only as the generated types were not adding it to structs when marshaling it into a string

Changes

  • environment format for pipelines
  • read-only id fix

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

NOTE

I found a potential problem, when using an environment as part of a test/transaction run, for the first environment creation the id can be omitted, but for the following runs the id needs to be present in order to update the existing one.

This will cause teams having to manually add the ids to their env files in case it already exists

@xoscar xoscar changed the title fixing environment format fix(pipelines): fixing environment format May 2, 2023
@xoscar xoscar marked this pull request as ready for review May 2, 2023 19:21
@xoscar xoscar self-assigned this May 2, 2023
Copy link
Contributor

@jorgeepc jorgeepc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Why the generated openapi files are changing a lot? 😢

@xoscar
Copy link
Collaborator Author

xoscar commented May 2, 2023

Looks good! Why the generated openapi files are changing a lot? 😢

Could it be because of generating them from Linux vs windows vs mac? 🤷🏾

@xoscar xoscar merged commit 624ec91 into main May 2, 2023
28 checks passed
@xoscar xoscar deleted the fix-environment-format branch May 2, 2023 19:37
schoren pushed a commit that referenced this pull request Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants