mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-09 10:57:08 +02:00
The ndpgen mock accessors asserted return types unconditionally, so a plugin test using Return(nil, ...) — the natural way to model an empty result or a pagination terminal page — panicked on the untyped-nil type assertion instead of returning the zero value. Guard pointer, slice, map and any returns in both the host-service client stubs and the PDK stub, and regenerate. |
||
|---|---|---|
| .. | ||
| templates | ||
| generator.go | ||
| generator_test.go | ||
| internal_suite_test.go | ||
| parser.go | ||
| parser_test.go | ||
| pdk_parser.go | ||
| types.go | ||
| xtp_schema.go | ||
| xtp_schema.json | ||
| xtp_schema_test.go | ||
| xtp_schema_validate.go | ||