Skip to content

Conversation

@slewis74
Copy link
Contributor

In writing the TypeScript client a Map<string,string> was used to represent the prompted variables key/value pairs, because that nicely aligned with the dictionary structure Octopus uses internally for this data.

Unfortunately it doesn't serialize as expected on the wire.

This PR changes to use a new interface type, PromptedVariableValues, which still behaves like a dictionary and key/value pairs in TypeScript and serializes as expected.

Fixes #139

@slewis74 slewis74 merged commit 330049e into main Jan 11, 2023
@slewis74 slewis74 deleted the bug-executionvariables branch January 11, 2023 02:25
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.

Map<string, string> JSON Serialisation Not Working for Prompted Variables

2 participants