1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-18 08:20:36 +00:00

Show resource relationships

This commit is contained in:
Darren Shepherd
2020-06-22 08:49:49 -07:00
parent 02b0602945
commit d796ed60a7
6 changed files with 478 additions and 46 deletions

View File

@@ -138,6 +138,8 @@ func (c *Collection) applyTemplates(schema *types.APISchema) {
}
if schema.Formatter == nil {
schema.Formatter = t.Formatter
} else if t.Formatter != nil {
schema.Formatter = types.FormatterChain(t.Formatter, schema.Formatter)
}
if schema.Store == nil {
if t.StoreFactory == nil {