Skip to content

Conversation

@jurij-jukic
Copy link
Contributor

@jurij-jukic jurij-jukic commented Oct 9, 2025

  • caller_utils_ts_generator.rs changes parse the wit file to get the path and method
  • wit_generator.rs has actual parsing now, which also fixes a bug where e.g. "// HTTP: GET GET" would be generated in the wit file. Because the parsed string contained "path: Path { … }" before it got to the actual path argument, the parser would lock onto the wrong substring and end up capturing "GET" as both the method and the path.

@jurij-jukic jurij-jukic removed the request for review from nick1udwig October 27, 2025 10:36
@jurij-jukic
Copy link
Contributor Author

hyperware-ai/hyperprocess-macro#49

This PR addresses the issue of binding /path and /path/subpath simultaneously. If you specify the paths in function attributes correctly and specify the endpoints, there is no issue.

Copy link
Member

@nick1udwig nick1udwig left a comment

Choose a reason for hiding this comment

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

Nice work; works well; sorry for long delay on review!

We need to get usage examples into the docs so LLM knows how to do it

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