Skip to content

Conversation

@joachimvh
Copy link
Contributor

Targeting the test/unit branch due to the many changes that are already there.


return ({
status: 201,
headers: { location: `${joinUrl(request.url.href, encodeURIComponent(resource))}` },
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do you use the request URL as base, instead of the endpoint URL from config? I know they're probably the same, but source-of-truth-wise it feels a bit weird this way...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because this was easier from a dependency point of view 😅

Copy link
Collaborator

Choose a reason for hiding this comment

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

🙈

termontwouter
termontwouter previously approved these changes Sep 9, 2025
Base automatically changed from test/unit to main September 18, 2025 09:21
@joachimvh joachimvh dismissed termontwouter’s stale review September 18, 2025 09:21

The base branch was changed.

@joachimvh joachimvh merged commit 7078a88 into main Sep 18, 2025
3 checks passed
@joachimvh joachimvh deleted the fix/issues branch September 18, 2025 10:59
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.

3 participants