NameCiMeta: Add missing json tag to NameMeta

This commit is contained in:
Noah Hilverling 2021-04-22 09:50:54 +02:00
parent 2f76c95d51
commit 094e374070

View file

@ -48,8 +48,8 @@ type NameMeta struct {
// NameCiMeta is embedded by every type with a case insensitive name.
type NameCiMeta struct {
NameMeta
NameCi *string `json:"-"`
NameMeta `json:",inline"`
NameCi *string `json:"-"`
}
// Init implements the contracts.Initer interface.