Alexandre Mutel
Alexandre Mutel
> Thanks for the further explanation. I amended the CodeGenerator.cs as follows: > > ```cs > else if (_pluginOnly.Contains(name)) > { > //kind = InterfaceKind.Plugin; > kind = InterfaceKind.Both; >...
I have pushed the commit b07104ff9a04bc97e0f6adcb5e6e0af54fd4c3db that moves the repo to net8.0 and generates all bi-directional proxies in all cases. I will respond to your other questions later, have limited...
Yes, most of the wrappers should be similar in the end. One aspect to be careful is about using structs whenever possible, as NPlug has been developed with the goal...
> the .NET runtime will need to box the implementing `struct` to call the default implementation provided by the interface (the type of `this` within the interface is a reference...
Got it. I'll change this in a breaking version.
Good to know, please make a PR if you want, thanks!
Yes, afar, the indentation was introduced specifically for `include` but not for all blocks because it is costly. Not sure it is feasible to introduce this without a significant performance...
The `TemplateContext.CurrentGlobal` contains the current object pushed to the context (via `TemplateContext.PushGlobal`) so if a script sets a variable, it will be set on the `TemplateContext.CurrentGlobal`
Hey, strictly speaking it's not super important because supporting net7.0 defaults to support net8.0. I would like to check more broadly what needs to be updated to net8.0 in the...
Will remove 7.0 later, it's not important as Scriban is compatible with 8.0