Skip to content

Conversation

@pavelgj
Copy link
Collaborator

@pavelgj pavelgj commented Jun 26, 2025

Checklist (if applicable):

pavelgj added 2 commits June 26, 2025 19:56
This commit updates how resources are handled and how metadata is propagated.
- Updates `applyResources` to pass the entire resource object instead of just the URI to the resource function.
- Updates `defineResource` to accept an optional name, and use the URI or template as the name if not specified.
- Updates `defineResource` to propagate resource metadata correctly, including parent information and template information.
- Updates tests to reflect the changes in resource handling and metadata propagation.
@pavelgj pavelgj requested a review from mbleigh June 26, 2025 23:58
@pavelgj pavelgj merged commit 5fff649 into pj/js-resources Jun 27, 2025
5 checks passed
@pavelgj pavelgj deleted the pj/js-resources-patch1 branch June 27, 2025 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants