Skip to content

devpkg: make FlakeInstallable.Outputs a string #1599

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

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

gcurtis
Copy link
Collaborator

@gcurtis gcurtis commented Oct 31, 2023

Change ParseInstallable.Outputs from a []string to a string and move the splitting logic to a SplitOutputs method. This makes installables directly comparable with == and usable as map keys, which is something we currently do a bunch using unparsed installable strings.

@gcurtis gcurtis requested review from mikeland73 and savil November 1, 2023 15:11
Base automatically changed from gcurtis/flakeref-escapes to main November 1, 2023 18:23
Change `ParseInstallable.Outputs` from a `[]string` to a `string` and
move the splitting logic to a `SplitOutputs` method. This makes
installables directly comparable with `==` and usable as map keys, which
is something we currently do a bunch using unparsed installable strings.
@gcurtis gcurtis force-pushed the gcurtis/installable-outputs branch from a72df3e to 2075d84 Compare November 1, 2023 18:27
@gcurtis gcurtis merged commit a4d901c into main Nov 1, 2023
@gcurtis gcurtis deleted the gcurtis/installable-outputs branch November 1, 2023 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants