Replies: 4 comments
-
Yes, let's go with that. You're definitely the person to implement this as it will show the pattern moving into the future. I think this will also help with less noise around the core development of fuego. |
Beta Was this translation helpful? Give feedback.
-
My only initial thoughts is since we're planning on keeping this a monorepo does it change the CI at all? Probably not initially we can just continue doing the catch all rules that we're using right now. Just something to think about, not a show stopper. |
Beta Was this translation helpful? Give feedback.
-
I think we'll move the Security package down to an extension. It is currently incomplete and needs some deep work that I cannot provide right now |
Beta Was this translation helpful? Give feedback.
-
Hey 👋 I am also interested in extensions also . It sounds really promising that this is even being discussed. Since the intent is to ensure no module bloat there are a few different ways to do this and so it would be nice to see how it works. I am currently basing any plugins I do for any code base on benthos . It’s well battle tested, very flexibly pipeline based processing , is financially backed so has a good future. I often use golang to write the plugin and then compile to WASM and then it’s easy for benthos to late load them . The other way to make a plugin for benthos is over std io , which works very well without WASM . anyways, would be cool to see your cooking up :) |
Beta Was this translation helpful? Give feedback.
-
I don't like adding a lot of dependencies to Fuego, but I have the gut feeling that Fuego extensions like Markdown #116 shouldn't be in the default github.com/go-fuego/fuego module. It creates noise in the dependencies tree and make binaries heavier. It might also be very useless for users that use Fuego only for some features.
But we'll probably add a lot of functionalities and helpers like this one through the development. I want to keep this project as a monorepo because I like to centralize this, so here's my proposition :
/extra/markdown
go get github.com/go-fuego/fuego/extra/markdown
and the usemarkdown.RenderSafeHTML
ormarkdown.RenderDangerousHTML
functionsThis is the same behaviour as middlewares, except it's for utility functions and more.
What do you think about it ?
Beta Was this translation helpful? Give feedback.
All reactions