Daniel Meza

Results 37 comments of Daniel Meza

@pieceofsummer I understand, but with reflection from performe context we can get the information off the type, for the #1 point we can make it optional and configurable from the...

@migajek I never thought it was so easy

@migajek we can use a JobFilter to auto put the contex and cleand the dictionary the job need to be decorated with the filter

@migajek here is the JobFilter ```c# [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Interface)] public class LogToConsoleAttribute : JobFilterAttribute, IServerFilter { private IDisposable _subscription; public void OnPerforming(PerformingContext filterContext) { _subscription = HangfireConsoleLogger.InContext(filterContext); }...

@pieceofsummer the solution proposed by @migajek looks better and we can easily implement it and it can be switch on/off I can make a pr

Related to https://github.com/pieceofsummer/Hangfire.Console/issues/58

Related to https://github.com/pieceofsummer/Hangfire.Console/issues/58

What about use Source Generator instead runtime to improve performance?

@nxrighthere so, every code made with a [Source Generator](https://docs.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/source-generators-overview), will need an editor restart to see it on the editor? I´m talking about this `Seems like it's possible to generate...

¡Hi! sorry for join late on the conversation, you did grate! @jmalda. @igorocampos now that we have virtualized the methods on the BaseCommandEmitter we can start here to reduce the...