Repository navigation
[CHORE] add docs for initial_custom_fields - #299
sinankeskin wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
| "type": "string" | ||
| } | ||
| }, | ||
| "initial_custom_fields": { |
There was a problem hiding this comment.
The OpenAPI request now exposes initial_custom_fields, but the checked-in TypeScript SDK's createTrackingRequest parameters do not accept or forward it. SDK callers following this contract receive an excess-property type error or cannot send the custom fields, so the generated types and public client method need to be updated with this schema change.
Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/openapi.json
Line: 1336
Comment:
**SDK Contract Omits New Field**
The OpenAPI request now exposes `initial_custom_fields`, but the checked-in TypeScript SDK's `createTrackingRequest` parameters do not accept or forward it. SDK callers following this contract receive an excess-property type error or cannot send the custom fields, so the generated types and public client method need to be updated with this schema change.
How can I resolve this? If you propose a fix, please make it concise.|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
* docs: document initial_custom_fields on create tracking request Rebase of #299 onto current main. Documents the shipped DEV-10929 request field without the stale Postman conflict. Co-authored-by: Akshay Dodeja <dodeja@gmail.com> * chore: regenerate Postman collection from openapi.json Co-authored-by: Akshay Dodeja <dodeja@gmail.com> * chore: Auto-generate Postman collection from openapi.json [skip ci] --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
Status check against
#319 also corrects two details from this PR: container entries are |
Greptile Summary
This PR documents initial custom fields for tracking requests. The main changes are:
initial_custom_fieldsrequest schema.Confidence Score: 4/5
The OpenAPI and TypeScript SDK request contracts need to be synchronized before merging.
createTrackingRequest.docs/openapi.json and the TypeScript SDK request types
Important Files Changed
Prompt To Fix All With AI
Reviews (1): Last reviewed commit: "chore: Auto-generate Postman collection ..." | Re-trigger Greptile