Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix handling of uri variables #95

Merged
merged 1 commit into from
Jan 5, 2024
Merged

fix: fix handling of uri variables #95

merged 1 commit into from
Jan 5, 2024

Conversation

JKRhb
Copy link
Member

@JKRhb JKRhb commented Jan 5, 2024

The logic for validating URI variables has been a bit too strict, preventing all interactions when a value for a URI variable was not provided by the user, for example in the case of the experimental extension of the exploreDirectory discovery method in #94.

As also already briefly discussed in w3c/wot-scripting-api#528, the handling of URI variables needs to be improved in general, so this topic should be revisited in future PRs.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3a2d79a) 67.45% compared to head (d265c4f) 67.24%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #95      +/-   ##
==========================================
- Coverage   67.45%   67.24%   -0.22%     
==========================================
  Files          69       69              
  Lines        2271     2265       -6     
==========================================
- Hits         1532     1523       -9     
- Misses        739      742       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JKRhb JKRhb merged commit 7adfed6 into main Jan 5, 2024
4 checks passed
@JKRhb JKRhb deleted the fix-uri-variables branch January 5, 2024 18: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.

2 participants