-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Custom renderer #241
base: main
Are you sure you want to change the base?
Conversation
"github.com/flanksource/incident-commander/db" | ||
) | ||
|
||
func QueryRenderComponents(ctx context.Context, systemTemplateID string) ([]api.Renderers, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@moshloop Should we keep this in db/topology.go
as we keep all the database interactions in the db package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assumed that was the convention I am supposed to follow. I took pkg/snapshot
as a reference but looks like pkg/rules
also does it.
- initialize babel only once
Resolves: #235