Skip to content

Conversation

@pcothenet
Copy link
Contributor

What

** CHANGEME: What are you changing? **

Why

** CHANGEME: Why are these changes needed? **

SDK Release Checklist

  • Have you added an integration test for the changes?
  • Have you built the package locally and made queries against it successfully?
  • Did you update the changelog?
  • Did you bump the package version?
  • If endpoints were removed, did you manually remove the corresponding files? (this should be rare)
  • For breaking changes, did you plan for the release of the new SDK versions and deploy the API to production?

Comment on lines -107 to +110
const _placeOrderRequest = PlaceOrderRequest.constructFromObject(
opts,
new CreateOrderRequest()
);
let postBody = _placeOrderRequest;
let postBody = opts['placeOrderRequest'];

// verify the required parameter 'id' is set
if (id === undefined || id === null) {
if (_id === undefined || _id === null) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@holtbp it's very interesting that you're getting this change to. This one is wrong and breaks the functionality. The syntax is not even correct since _id is not defined.

@pcothenet pcothenet closed this Jul 29, 2022
Comment on lines -107 to +110
const _placeOrderRequest = PlaceOrderRequest.constructFromObject(
opts,
new CreateOrderRequest()
);
let postBody = _placeOrderRequest;
let postBody = opts['placeOrderRequest'];

// verify the required parameter 'id' is set
if (id === undefined || id === null) {
if (_id === undefined || _id === null) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change shouldn't happen. It's not even valid javascript since _id does not exist.

@pcothenet pcothenet deleted the bh-testing branch November 8, 2025 05:02
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.

2 participants