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: completion for multi-variable templates #163

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

danielgtaylor
Copy link
Owner

This fixes the behavior for URI templates with multiple variables, which were matching incorrectly due to breaking out of the loop. If the match is successful here we force the continue to keep going to check for other variables.

@codecov
Copy link

codecov bot commented Jan 13, 2023

Codecov Report

Merging #163 (049ed6c) into main (a6559de) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #163   +/-   ##
=======================================
  Coverage   74.70%   74.71%           
=======================================
  Files          25       25           
  Lines        3384     3385    +1     
=======================================
+ Hits         2528     2529    +1     
  Misses        659      659           
  Partials      197      197           
Impacted Files Coverage Δ
cli/cli.go 70.61% <100.00%> (+0.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a6559de...049ed6c. Read the comment docs.

@danielgtaylor danielgtaylor merged commit 2a9db11 into main Jan 13, 2023
@danielgtaylor danielgtaylor deleted the fix-completion-multi-arg branch January 13, 2023 22:31
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