这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@hywax
Copy link
Contributor

@hywax hywax commented Dec 20, 2023

This adds the toJSON template function to notifications, allows the template data to JSON serialized and adds a built in default JSON template (simply {{ . | toJSON }}).

Useful if want to format a message in a third-party system according to certain rules.

Copy link
Member

@m90 m90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great addition, thank you. I left a comment about a possible improvement inline, lmk what you think.

@m90 m90 merged commit 64daf7b into offen:main Dec 20, 2023
@m90
Copy link
Member

m90 commented Dec 20, 2023

This is now released in v2.35.0 thank you 🎩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants