Yegor Karimov
Yegor Karimov
There is a bug. Solved by extending GoldenRule and redefining default constructor: ``` public class ErrorOnFailureGoldenRule extends GoldenRule { public ErrorOnFailureRule(Class factType) { super(factType, RuleChainActionType.ERROR_ON_FAILURE); } } ``` Then use...
+1 What is the state for the Fresh to support the Deno workspaces/monorepo out of the box? Moving deps to the root deno.json is not great...
Thanks for your explanations, @marvinhagemeister! I was exploring [Koa API](https://koajs.com/#introduction), and found this resource of middlewares: https://github.com/koajs/koa/wiki#middleware. Wanted to share. As I can see they are like a collection of...
## Plugin Architecture Clarity Needed: Multiple APIs and "Plugin" Equivocation While moving forward with my project migration, I'm experiencing confusion about Fresh 2 plugin system, and I think this might...
Thanks for clarification! Maybe choosing clear nomenclature/terminology for the docs will be indeed enough. Just I suggest to make it very clear, especially for newcomers. E.g. the plugin in one...
## Expressive syntax for page creation How can I achieve something like this outside of the `routes` folder? ``` // some-flow.tsx: const helloPage = define.page(() => { return ( Hello!...
What happens in this case? ```ts app.use(define.middleware((ctx) => { ctx.state.theme = "light"; return ctx.next(); })); app.get("/flow", (ctx) => { return ctx.render( , ); }); ``` Will I have `FreshContext` with...
> It is not possible to add pages that inherit the app wrappers. As a result, it is difficult to create a plugin that adds pages, such as a user...