Skip to content

fix: Cloning requests that have image optimizer options - #1544

Open
TartanLlama wants to merge 2 commits into
mainfrom
sy/clone-request-image-optimizer-options
Open

fix: Cloning requests that have image optimizer options#1544
TartanLlama wants to merge 2 commits into
mainfrom
sy/clone-request-image-optimizer-options

Conversation

@TartanLlama

Copy link
Copy Markdown
Contributor

Requests with image optimizer options are currently not cloneable, because the options from the existing object are interpreted as a JS object rather than C++ object. This PR deep-copies the C++ object, and changes the types of some of the internal image optimizer options fields for ease of use.

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.

1 participant