めがねこ

Results 11 comments of めがねこ

As in anilist, kitsu.io, and MAL state that the movie only have 1 episode for each title. I dont think following fansub that splitting the movie for their release can...

Also, since some anime already reach 1000 episode, Its better to increase the pattern from `(\d{1,3})[vV](\d)$` to `(\d{1,4})[vV](\d)$`. e.g `[Judas] One Piece - 1009v2.mkv`

The singletons can cause a race condition bug in multi thread where 2 difference thread trying to parse at the same time. From my experience, I got a list of...

For the `S1 -S02`, i think we can check if there's 2 season, but no episode. Than we could assume it season x special eps y.

Hello, I think the output was correct. Because the `ErrorWithHeaders` using `header.Add` operation [this line](https://github.com/danielgtaylor/huma/blob/4fd3cdbe034108224cb33c5499d0e1b379b99556/error.go#L189). And the only time your code goes to this block ```go if _, ok :=...

Sorry for incomplete analysis. After the ```go return nil, huma.ErrorWithHeaders(huma.Error429TooManyRequests("foo"), http.Header{ "X-Ratelimit-Limit": []string{"1"}, "X-Ratelimit-Remaining": []string{"0"}, }) ``` The code goes to [huma.go:936](https://github.com/danielgtaylor/huma/blob/4fd3cdbe034108224cb33c5499d0e1b379b99556/huma.go#L936). And since the previous code return as error,...

I dont see a way to modify the raw/original request/response header. Or any way to populate the context being pass to the handler through middleware. Therefore, the there's no work...

I use this pattern ```go func UseSecurity(g *huma.Group, scheme string) { g.UseSimpleModifier(func(o *huma.Operation) { if len(o.Security) == 0 { o.Security = []map[string][]string{{scheme: {}}} } }) } ``` ```go func HumaAuthMiddleware(g...

You need to update your middleware then. Use factory pattern, For example, for my routing group, I want to ensure everything need to be authed. So, I wrote my coed...

I manage to make patch for this function with the following approach ```go //go:build !disable_huma_patch package routes import ( "github.com/bouk/monkey" "github.com/danielgtaylor/huma/v2" // Required for go:linkname _ "unsafe" ) // Patch:...