Skip to content

Fix ModuleMaker.make_all dropping @app.patch routes from __all__ - #72

Merged
jph00 merged 1 commit into
mainfrom
pr/fix-modulemaker-make-all-dropping-app-patch
Dec 4, 2026
Merged

jph00 merged 1 commit into
mainfrom
pr/fix-modulemaker-make-all-dropping-app-patch

Conversation

@jph00

@jph00 jph00 commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Use fastcore.pyparse.patch_targets in ModuleMaker.make_all instead of matching any decorator starting with patch, so FastHTML routes decorated with @app.patch stay exported in __all__. Bumps the fastcore floor to >=2.3.19 for the matching patch_targets fix.

@jph00 jph00 added the bug Something isn't working label Dec 4, 2026
@jph00
jph00 merged commit 8d2bedb into main Dec 4, 2026
@jph00
jph00 deleted the pr/fix-modulemaker-make-all-dropping-app-patch branch December 4, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant