Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: parse shuttle::endpoint macro (#490)
* feat: parse params * feat: parse app * feat: add test for missing endpoint attribute * test: invalid args, params and syntax * feat: check for and test no params * feat: don't emit error for missing annotation this way users can create separate functions for their endpoint logic * fix: remove missing attribute error, not param * refactor: reword comment Co-authored-by: Pieter <[email protected]> * feat: duplicate param test, address review * feat: only strip endpoint attributes * feat: check for extra endpoint attributes * refactor: clearer error span for extra endpoints * feat: has_err variable to group param errors * refactor: remove optional hint Co-authored-by: Pieter <[email protected]> * docs: add TODO for multiple endpoint attributes Co-authored-by: Pieter <[email protected]>
- Loading branch information