⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@prk-Jr
Copy link
Collaborator

@prk-Jr prk-Jr commented Jan 22, 2026

Standardize Settings as first parameter across creative module functions for consistency with Rust conventions and improved code discoverability.

Resolves: #188

@prk-Jr prk-Jr linked an issue Jan 22, 2026 that may be closed by this pull request
@prk-Jr prk-Jr self-assigned this Jan 22, 2026
@prk-Jr prk-Jr requested a review from aram356 January 22, 2026 11:11
Copy link
Collaborator

@aram356 aram356 left a comment

Choose a reason for hiding this comment

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

👍 Looks good overall

🔧 Please update README.md (line 36) and README.md (line 38) to match the new signatures.

@prk-Jr prk-Jr requested a review from aram356 January 27, 2026 11:24
Copy link
Collaborator

@aram356 aram356 left a comment

Choose a reason for hiding this comment

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

👍 Looks good

Standardize Settings as first parameter across creative module functions
for consistency with Rust conventions and improved code discoverability.

Resolves: #188
Removes the unused `settings` parameter from `serve_static_with_etag` and `handle_tsjs_dynamic` to clean up the API.

Also updates `crates/common/README.md` to match the correct argument order for rewrite helpers.

Resolves: #188
@prk-Jr prk-Jr force-pushed the 188-standardize-settings-parameter-position-always-pass-as-first-argument branch from 5d69fd3 to e36bdd4 Compare January 28, 2026 14:08
@prk-Jr prk-Jr requested a review from aram356 January 28, 2026 14:20
@prk-Jr prk-Jr merged commit 7ebfba3 into main Jan 28, 2026
4 checks passed
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.

Standardize Settings parameter position: always pass as first argument

4 participants