Skip to content

feat: Add composable interface API#17

Open
kivra-adalin wants to merge 1 commit intonoss:mainfrom
kivra:kivra-adalin/push-rxlvptyxoopn
Open

feat: Add composable interface API#17
kivra-adalin wants to merge 1 commit intonoss:mainfrom
kivra:kivra-adalin/push-rxlvptyxoopn

Conversation

@kivra-adalin
Copy link
Copy Markdown
Contributor

This change adds a new function event/2 that allows users to create events with custom attributes and interfaces that are composable.

mapz is included to be able to deeply merge the event and all its interfaces (which can contain deeply nested structures with the same parent keys). If this is not a desirable dependency, it is possible to make a local custom deep merge function.

I might follow this up with another PR that refactors golare_logger_h to use this module instead for many attributes.

This change adds a new function `event/2` that allows users to create
events with custom attributes and interfaces that are composable.
@eproxus eproxus force-pushed the kivra-adalin/push-rxlvptyxoopn branch from e02ee67 to 990b0b9 Compare February 9, 2026 12:02
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