Skip to content

Comments

feat: Support multipart requests#6301

Merged
davidkna-sap merged 17 commits intomainfrom
davidkna-sap_doc-multipart
Feb 16, 2026
Merged

feat: Support multipart requests#6301
davidkna-sap merged 17 commits intomainfrom
davidkna-sap_doc-multipart

Conversation

@davidkna-sap
Copy link
Member

@davidkna-sap davidkna-sap commented Feb 4, 2026

Related SAP/ai-sdk-js-backlog#469.

Continuation of #6276

Documentation: SAP/cloud-sdk#2374

@davidkna-sap davidkna-sap force-pushed the davidkna-sap_doc-multipart branch 5 times, most recently from cd4cfca to a10fc03 Compare February 5, 2026 15:42
@davidkna-sap davidkna-sap force-pushed the davidkna-sap_doc-multipart branch from a10fc03 to 6d8f8f9 Compare February 5, 2026 15:52
@davidkna-sap davidkna-sap force-pushed the davidkna-sap_doc-multipart branch 2 times, most recently from 85d0a35 to 97dcdfd Compare February 6, 2026 09:47
Comment on lines 39 to 41
"readme": "ts-node ../../scripts/replace-common-readme.ts",
"prepack": "test -f dist/index.js || tsc -p tsconfig.for-prepack.json || true"
},
Copy link
Member Author

Choose a reason for hiding this comment

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

TODO:

To be reverted, temporary change to allow using as a git dependency in AI SDK.

Copy link
Contributor

Choose a reason for hiding this comment

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

don't forget this before merging 😊

@davidkna-sap davidkna-sap force-pushed the davidkna-sap_doc-multipart branch 2 times, most recently from 4c1a18a to ea6e244 Compare February 6, 2026 15:41
@davidkna-sap davidkna-sap force-pushed the davidkna-sap_doc-multipart branch from ea6e244 to 954bc96 Compare February 6, 2026 16:03
@davidkna-sap davidkna-sap marked this pull request as ready for review February 6, 2026 16:03
davidkna-sap and others added 2 commits February 11, 2026 10:57
Co-authored-by: Marika Marszalkowski <marika.marszalkowski@sap.com>
Comment on lines 39 to 41
"readme": "ts-node ../../scripts/replace-common-readme.ts",
"prepack": "test -f dist/index.js || tsc -p tsconfig.for-prepack.json || true"
},
Copy link
Contributor

Choose a reason for hiding this comment

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

don't forget this before merging 😊

* @returns Encoding configuration mapping property names to contentType, or undefined.
* @internal
*/
function parseEncoding(
Copy link
Contributor

Choose a reason for hiding this comment

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

[q] I don't fully understand what the cases are when this is used. I previously suggested to change the names to something with properties, because I thought that this is related to object schemas only, but now I am confused. What does "property" stand for in this context?

Copy link
Member Author

Choose a reason for hiding this comment

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

The properties here are the properties of an object schema, but object is not representing a regular object but the named formdata entires.

Copy link
Contributor

Choose a reason for hiding this comment

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

Got it.

* @returns Encoding configuration mapping property names to contentType, or undefined.
* @internal
*/
function parseEncoding(
Copy link
Contributor

Choose a reason for hiding this comment

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

Got it.

Copy link
Contributor

@marikaner marikaner left a comment

Choose a reason for hiding this comment

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

Still left a few comments, but only minor things. Feel free to merge at your own discretion.

…ipart

* origin/main: (32 commits)
  chore(deps): bump fast-xml-parser from 5.3.5 to 5.3.6 (#6328)
  chore(deps): bump eslint-plugin-jsdoc from 62.5.4 to 62.5.5 (#6327)
  chore(deps-dev): bump typedoc from 0.28.16 to 0.28.17 (#6325)
  chore(deps-dev): bump turbo from 2.8.7 to 2.8.9 (#6330)
  chore(deps-dev): bump @sap/cds-dk from 9.7.1 to 9.7.2 (#6329)
  chore(deps): bump SAP/project-piper-action from 1.25.2 to 1.25.6 (#6326)
  chore(deps-dev): bump puppeteer from 24.37.2 to 24.37.3 (#6324)
  chore(deps): bump qs from 6.14.1 to 6.14.2 (#6323)
  chore(deps): bump eslint-plugin-jsdoc from 62.5.2 to 62.5.4 (#6315)
  chore(deps): bump glob from 13.0.2 to 13.0.3 (#6322)
  chore(deps): Bump @sap/xssec from 4.12.1 to 4.12.2 (#6277)
  chore(deps): bump glob from 13.0.1 to 13.0.2 (#6320)
  chore(deps-dev): bump @types/node from 22.19.10 to 22.19.11 (#6321)
  chore(deps-dev): bump puppeteer from 24.37.1 to 24.37.2 (#6319)
  chore(deps-dev): bump turbo from 2.8.3 to 2.8.7 (#6318)
  chore(deps-dev): bump @sap/cds-dk from 9.6.1 to 9.7.0 (#6300)
  chore(deps): bump semver from 7.7.3 to 7.7.4 (#6308)
  chore(deps): bump axios from 1.13.4 to 1.13.5 (#6311)
  chore(deps): bump typescript-eslint from 8.54.0 to 8.55.0 (#6314)
  chore(deps): bump eslint-plugin-unused-imports from 4.3.0 to 4.4.1 (#6313)
  ...
@davidkna-sap davidkna-sap force-pushed the davidkna-sap_doc-multipart branch from edb5885 to 9bd7318 Compare February 16, 2026 13:26
@davidkna-sap davidkna-sap merged commit 3b95c42 into main Feb 16, 2026
15 checks passed
@davidkna-sap davidkna-sap deleted the davidkna-sap_doc-multipart branch February 16, 2026 13:44
davidkna-sap added a commit that referenced this pull request Feb 17, 2026
…rn/main/nock-14.0.11

* origin/main:
  chore(deps): bump typescript-eslint from 8.55.0 to 8.56.0 (#6333)
  chore(deps): bump @typescript-eslint/parser from 8.55.0 to 8.56.0 (#6334)
  feat: Support multipart requests (#6301)
  chore(deps): bump fast-xml-parser from 5.3.5 to 5.3.6 (#6328)
  chore(deps): bump eslint-plugin-jsdoc from 62.5.4 to 62.5.5 (#6327)
  chore(deps-dev): bump typedoc from 0.28.16 to 0.28.17 (#6325)
  chore(deps-dev): bump turbo from 2.8.7 to 2.8.9 (#6330)
  chore(deps-dev): bump @sap/cds-dk from 9.7.1 to 9.7.2 (#6329)
  chore(deps): bump SAP/project-piper-action from 1.25.2 to 1.25.6 (#6326)
  chore(deps-dev): bump puppeteer from 24.37.2 to 24.37.3 (#6324)
  chore(deps): bump qs from 6.14.1 to 6.14.2 (#6323)
  chore(deps): bump eslint-plugin-jsdoc from 62.5.2 to 62.5.4 (#6315)
  chore(deps): bump glob from 13.0.2 to 13.0.3 (#6322)
  chore(deps): Bump @sap/xssec from 4.12.1 to 4.12.2 (#6277)
  chore(deps): bump glob from 13.0.1 to 13.0.2 (#6320)
  chore(deps-dev): bump @types/node from 22.19.10 to 22.19.11 (#6321)
  chore(deps-dev): bump puppeteer from 24.37.1 to 24.37.2 (#6319)
  chore(deps-dev): bump turbo from 2.8.3 to 2.8.7 (#6318)
  chore(deps-dev): bump @sap/cds-dk from 9.6.1 to 9.7.0 (#6300)
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