pulsar-edit / package-backend

Pulsar Server Backend for Packages
https://api.pulsar-edit.dev
MIT License
11 stars 11 forks source link

Simplify `CallStack` #241

Closed confused-Techie closed 4 months ago

confused-Techie commented 5 months ago

Requirements

Description of the Change

This PR works to simplify CallStacks.

The CallStack is a custom object of the SSO object. The CallStack keeps tracks of all calls made at each step of the endpoint, retaining their information and logging it to allow easy investigation.

Previously every call in a callstack was added each time an SSO object was returned. But this PR creates a CallStack class, which allows a few improvements over the old method: