Skip to content

use URL constructor when appending the id to url#198

Merged
noahgrant merged 1 commit into
mainfrom
use_URL_when_appending_id
Mar 10, 2026
Merged

use URL constructor when appending the id to url#198
noahgrant merged 1 commit into
mainfrom
use_URL_when_appending_id

Conversation

@noahgrant
Copy link
Copy Markdown
Owner

Fixes (includes issue number if applicable):

Fixes the issue where a url couldn't have fixed query params attached to it because the model id would get appended at the end.

Description of Proposed Changes:

  • Uses the URL constructor to parse the url into pathname and query params before appending the id and reattaching the params.

@noahgrant noahgrant force-pushed the use_URL_when_appending_id branch from 71ff5b2 to 6e0074d Compare March 10, 2026 03:40
@noahgrant noahgrant force-pushed the use_URL_when_appending_id branch from 6e0074d to c1053b1 Compare March 10, 2026 03:42
@noahgrant noahgrant merged commit f9dd38a into main Mar 10, 2026
1 check passed
@noahgrant noahgrant deleted the use_URL_when_appending_id branch March 10, 2026 03:48
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