-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
area:coreIssues related to `core`, which is the package that powers the SDKs at runtimeIssues related to `core`, which is the package that powers the SDKs at runtimeenhancementNew feature or requestNew feature or requestexplorationA tag to show off your experimentsA tag to show off your experiments
Description
Discussed in #545
Originally posted by erunion October 25, 2022
Because a lot of the work that api
does behind the scenes can be a bit magical it'd be nice if there was some sort of debugging mode that you could enable that would log out the HAR that we use in the backend with fetch-har.
const sdk = require('@api/petstore');
// leaf handling
sdk.debug();
sdk.operation().then(...)
const sdk = require('@api/petstore');
sdk.debug().operation().then(...)
Perhaps the chained mode should only apply the debug mode to the operation it's attached to.
Metadata
Metadata
Assignees
Labels
area:coreIssues related to `core`, which is the package that powers the SDKs at runtimeIssues related to `core`, which is the package that powers the SDKs at runtimeenhancementNew feature or requestNew feature or requestexplorationA tag to show off your experimentsA tag to show off your experiments