Skip to content

Is it still possible to create a Message with no title? #114

Closed
@Jayonas

Description

@Jayonas

I recently updated my app from using annotate-snippets version 0.10.1 to version 0.11.1. Most of the API changes were pretty straight-forward, and I'm overall happy with its direction and new features. However, in the old version I was able to create a Snippet (now a Message) without a title, and I couldn't find a way to do that in the new version. Looks like Level::title is the only way to create a Message now, and even if I pass an empty string it still (unsurprisingly) renders the text for the Level. Did I miss this functionality elsewhere in the new API or is it actually gone? If it is gone, is there any chance that it can/will come back? I have situations in my app where I essentially render my own (more detailed) title prior to calling the annotate-snippets Renderer, so having the Renderer also render a title ends up being redundant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions