Skip to content
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

Property-rendering delegates #163

Open
MV10 opened this issue Oct 12, 2018 · 1 comment
Open

Property-rendering delegates #163

MV10 opened this issue Oct 12, 2018 · 1 comment

Comments

@MV10
Copy link
Contributor

MV10 commented Oct 12, 2018

For supporting the more complex SQL column types (image or varbinary, for example) in specialized logging scenarios, I've been considering a callback mechanism for rendering property values.

The only drawback that comes to mind is that log properties aren't rendered until the batch is written. This deferred rendering could be addressed by writing an application-specific identifier with the log event which is passed to the rendering delegate.

The implementation appears relatively simple, but I'm not going to tag this as a feature request yet. I'd like to hear if anyone has thoughts about this idea.

@ckadluba
Copy link
Member

Sounds very interesting.

Do I understand this right, that the application specific id is used to find the matching delegate when a property is rendered? If the rendering delegate could be set in ColumnOptions.AdditionalColumns for each property, could we then do without an application-specific id?

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

No branches or pull requests

2 participants