Maxime Lapointe
Maxime Lapointe
I have widgets which affect layouts, and I tent to test them using `Text`. For example, is my widget not currently visible on screen (because you would need to scroll...
I wanted to escape a string of untrusted content so that I could then insert some HTML. Here is the code I ended up with: ``` @templ.Raw(strings.Replace(templ.EscapeString(full_description), "_", "_­", -1))...
I altered the snippet to shorten it. `full_description` is actually a field on a struct that is used elsewhere in the program in contexts where I do not want HTML...
I would suggest the following for `prepare_all`. This way, if an app has 2 seedable database, one already with data, then the seed would not be run, which is safer....
> Rebased. Since that was only 17 minutes after my suggestion, I understood that as meaning that you added my suggestion to the PR, but I don't see it. I'm...
I would argue it's not the same thing, but it might be. Both linked issues mention `testWidgets`. The first issue even mention that the problem goes away in just "test"....
Sorry, no idea.
I tends to try to follow the principle of least surprise. In normal situation, if there is an error/exception, I expect for it to get to my code / be...
For my situation, I use Drift to handle SQLite. If I mess up a query (ex: giving it the wrong column), it may generate a SqliteException. It's not a fatal...
An option I see that I don't think would be a breaking change: * Add the items field to PagingStateBase * It has a constructor which should always be called....