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: handle default string value properly #1243

Merged
merged 6 commits into from Sep 6, 2023
Merged

Conversation

Peeeekay
Copy link
Contributor

@Peeeekay Peeeekay commented Sep 6, 2023

This PR fixes the bug found recently where the default value in the starlark package was being overwritten by the "" passed by the frontend.

Copy link
Contributor

@adschwartz adschwartz left a comment

Choose a reason for hiding this comment

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

Couple of comments to look at. What do you think about adding some unit tests for this to catch any obvious mistakes?

@Peeeekay
Copy link
Contributor Author

Peeeekay commented Sep 6, 2023

Couple of comments to look at. What do you think about adding some unit tests for this to catch any obvious mistakes?

@adschwartz is it cool if i do that in another PR because it would require me to add some plumbing - but this can unblock nam.

Copy link
Contributor

@adschwartz adschwartz left a comment

Choose a reason for hiding this comment

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

@Peeeekay Unblocking you but I think we should follow up with some increased quality and a unit test if possible.

@Peeeekay Peeeekay merged commit 6e49059 into main Sep 6, 2023
29 checks passed
@Peeeekay Peeeekay deleted the pk/package_catalog_bug branch September 6, 2023 17:18
Peeeekay pushed a commit that referenced this pull request Sep 6, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.82.20](0.82.19...0.82.20)
(2023-09-06)


### Bug Fixes

* handle default string value properly
([#1243](#1243))
([6e49059](6e49059))
* Runtime values created by `add_services` were incorrect in the case of
a skipped instruction
([#1239](#1239))
([3412486](3412486))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <kurtosisbot@users.noreply.github.com>
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