navidrome/plugins/cmd/ndpgen/internal/templates
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
..
base64_bytes.rs.tmpl fix(plugins): add base64 handling for []byte and remove raw=true (#5121) 2026-02-27 19:00:19 -05:00
capability.go.tmpl feat(plugins): share plugin DTOs via a types package (#5655) 2026-06-29 21:20:33 -04:00
capability.rs.tmpl feat(plugins): share plugin DTOs via a types package (#5655) 2026-06-29 21:20:33 -04:00
capability_stub.go.tmpl feat(plugins): share plugin DTOs via a types package (#5655) 2026-06-29 21:20:33 -04:00
client.go.tmpl feat(plugins): share plugin DTOs via a types package (#5655) 2026-06-29 21:20:33 -04:00
client.rs.tmpl fix(plugins): add base64 handling for []byte and remove raw=true (#5121) 2026-02-27 19:00:19 -05:00
client_stub.go.tmpl fix(plugins): make generated mock stubs nil-safe for nilable returns (#5909) 2026-08-08 21:57:44 -04:00
doc.go.tmpl feat(plugins): New Plugin System with multi-language PDK support (#4833) 2026-01-14 19:22:48 -05:00
go.mod.tmpl feat(plugins): New Plugin System with multi-language PDK support (#4833) 2026-01-14 19:22:48 -05:00
host.go.tmpl feat(plugins): expose the song Matcher as a host service (#5643) 2026-07-01 11:19:15 -04:00
lib.rs.tmpl feat(plugins): New Plugin System with multi-language PDK support (#4833) 2026-01-14 19:22:48 -05:00
pdk.go.tmpl feat(plugins): New Plugin System with multi-language PDK support (#4833) 2026-01-14 19:22:48 -05:00
pdk_stub.go.tmpl fix(plugins): make generated mock stubs nil-safe for nilable returns (#5909) 2026-08-08 21:57:44 -04:00
types.go.tmpl feat(plugins): share plugin DTOs via a types package (#5655) 2026-06-29 21:20:33 -04:00
types.rs.tmpl feat(plugins): share plugin DTOs via a types package (#5655) 2026-06-29 21:20:33 -04:00
types_stub.go.tmpl feat(plugins): New Plugin System with multi-language PDK support (#4833) 2026-01-14 19:22:48 -05:00