navidrome/plugins/cmd/ndpgen/internal
Deluan Quintão 5a5311a9c0
fix(plugins): make generated mock stubs nil-safe for nilable returns (#5909)
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.
2026-08-08 21:57:44 -04:00
..
templates fix(plugins): make generated mock stubs nil-safe for nilable returns (#5909) 2026-08-08 21:57:44 -04:00
generator.go fix(plugins): make generated mock stubs nil-safe for nilable returns (#5909) 2026-08-08 21:57:44 -04:00
generator_test.go fix(plugins): make generated mock stubs nil-safe for nilable returns (#5909) 2026-08-08 21:57:44 -04:00
internal_suite_test.go feat(plugins): New Plugin System with multi-language PDK support (#4833) 2026-01-14 19:22:48 -05:00
parser.go feat(plugins): expose the song Matcher as a host service (#5643) 2026-07-01 11:19:15 -04:00
parser_test.go feat(plugins): expose the song Matcher as a host service (#5643) 2026-07-01 11:19:15 -04:00
pdk_parser.go feat(plugins): New Plugin System with multi-language PDK support (#4833) 2026-01-14 19:22:48 -05:00
types.go feat(plugins): share plugin DTOs via a types package (#5655) 2026-06-29 21:20:33 -04:00
xtp_schema.go feat(plugins): share plugin DTOs via a types package (#5655) 2026-06-29 21:20:33 -04:00
xtp_schema.json feat(plugins): New Plugin System with multi-language PDK support (#4833) 2026-01-14 19:22:48 -05:00
xtp_schema_test.go feat(plugins): share plugin DTOs via a types package (#5655) 2026-06-29 21:20:33 -04:00
xtp_schema_validate.go feat(plugins): add JSONForms-based plugin configuration UI (#4911) 2026-01-19 20:51:00 -05:00