daw_event/v1: message is the English text with the placeholders replaced #20
Labels
No labels
coordination/cross-repo
coordination/needed
effort
large
effort
medium
effort
small
meta/duplicate
meta/planning
meta/wontfix
priority
high
priority
low
priority
medium
session
blocker
session
handover
session
next
status
blocked
status
done
status
in-progress
status
review
status
to-go
type
admin
type
bug
type
config
type
deployment
type/design
type
docs
type
enhancement
type
feature
type
handover
type
infrastructure
type
installation
type
maintenance
type
migration
type
research
type
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DAW/daw-contracts#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
daw_error/v1requiresmessageto be the canonical English text withall placeholders already replaced from
data.daw_event/v1only says"canonical English text" and leaves open who replaces the placeholders.
The module manager sent the text with
{id} {version}in it, so aconsumer without a catalog (log, script, host fallback) showed the
unresolved placeholders.
The producer needs no language and no catalog to replace them: the
English text is its own, and it only substitutes the values it put into
data.Scope
daw_event/v1: with aresource_id,messageis the canonicalEnglish text with the declared placeholders replaced from
data; itMUST NOT contain unresolved
{placeholder}syntax (same asdaw_error/v1)Acceptance criteria
message)
Related
DAW/daw-contracts#19, DAW/daw-module-manager (companion issue)
Implemented on main
Commits:
b6094a6Pushed. Follow-up points, if any, are tracked in their own issues.