Skip to content

Improve gorilla mux route extraction#1779

Merged
hahwul merged 1 commit into
mainfrom
wave-afrovenator
May 29, 2026
Merged

Improve gorilla mux route extraction#1779
hahwul merged 1 commit into
mainfrom
wave-afrovenator

Conversation

@hahwul

@hahwul hahwul commented May 29, 2026

Copy link
Copy Markdown
Member

Summary

  • extend Gorilla Mux extraction for Handle/Handler and route-builder chains
  • preserve unconstrained mux routes as ANY instead of GET-only
  • wire mux builder-chain HandlerFunc/Handler calls into callee extraction

Tests

  • crystal spec spec/unit_test/miniparser/go_route_extractor_ts_spec.cr spec/unit_test/miniparser/go_callee_extractor_spec.cr spec/functional_test/testers/go/mux_spec.cr spec/functional_test/testers/go/mux_callees_spec.cr
  • crystal spec spec/unit_test/miniparser/go_route_extractor_ts_spec.cr spec/unit_test/miniparser/go_callee_extractor_spec.cr spec/unit_test/analyzer/go_engine_spec.cr spec/functional_test/testers/go
  • just build
  • just test
  • just check

@github-actions github-actions Bot added 💊 spec Issue for test codes 🥢 mini-lexer Issue for mini-lexer and mini-parser labels May 29, 2026
@hahwul hahwul merged commit 39c8e64 into main May 29, 2026
10 checks passed
@hahwul hahwul deleted the wave-afrovenator branch May 29, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🥢 mini-lexer Issue for mini-lexer and mini-parser 💊 spec Issue for test codes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant