We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Generated code assumes the ordering of path params in the endpoint args block matches the ordering of those params in the path.
i.e. if you have
http: POST /{one}/{two}/{three} args: two: string three: string one: string
the generated code will incorrectly substitute to create the path {two}/{three}/{one}
{two}/{three}/{one}
The substitution should be based on the names of the params, not the ordering.
The text was updated successfully, but these errors were encountered:
conjure-typescript/src/commands/generate/serviceGenerator.ts
Lines 156 to 166 in b39e8f4
then in
Line 203 in b39e8f4
they're then used in https://github.com/palantir/conjure-typescript-runtime/blob/develop/packages/conjure-client/src/fetchBridge/fetchBridge.ts#L165
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
What happened?
Generated code assumes the ordering of path params in the endpoint args block matches the ordering of those params in the path.
i.e. if you have
the generated code will incorrectly substitute to create the path
{two}/{three}/{one}
What did you want to happen?
The substitution should be based on the names of the params, not the ordering.
The text was updated successfully, but these errors were encountered: