You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is a DynamicLinq issue or an issue in the helper, hopefully you can forward this to the relevant repository since I'm not sure exactly how DynamicLinq is implemented here
Expected: assert passes, program exits with code 0
Observed:
System.InvalidOperationException
HResult=0x80131509
Message=The result of the dynamic binding produced by the object with type '<>f__AnonymousType0`1[System.String]' for the binder 'System.Linq.Dynamic.Core.DynamicGetMemberBinder' needs at least one restriction.
Source=Handlebars.Net.Helpers
StackTrace:
at HandlebarsDotNet.Helpers.HandlebarsHelpers.InvokeMethod(Nullable`1 model, Boolean methodIsOnlyUsedInContextOfABlockHelper, IHandlebars context, String helperName, MethodInfo methodInfo, Arguments arguments, Object instance, IHelperOptions options)
at HandlebarsDotNet.Helpers.HandlebarsHelpers.<>c__DisplayClass8_0.<RegisterValueHelper>b__0(HelperOptions& options, Context& context, Arguments& arguments)
at HandlebarsDotNet.Helpers.DelegateReturnHelperWithOptionsDescriptor.Invoke(HelperOptions& options, Context& context, Arguments& arguments)
at HandlebarsDotNet.Helpers.DelegateReturnHelperWithOptionsDescriptor.HandlebarsDotNet.Helpers.IHelperDescriptor<HandlebarsDotNet.HelperOptions>.Invoke(HelperOptions& options, Context& context, Arguments& arguments)
at HandlebarsDotNet.HandlebarsEnvironment.<>c__DisplayClass19_0.<Compile>b__0(TextWriter writer, Object context, Object data)
at HandlebarsDotNet.HandlebarsEnvironment.<>c__DisplayClass20_0.<Compile>b__0(Object context, Object data)
at Program.<Main>$(String[] args) in C:\Users\mweber\Desktop\handlebars.net-handlers-test\Program.cs:line 33
Not sure if this is a DynamicLinq issue or an issue in the helper, hopefully you can forward this to the relevant repository since I'm not sure exactly how DynamicLinq is implemented here
Simple issue reproduction:
Expected: assert passes, program exits with code 0
Observed:
Package versions:
Feel free to use this code as a new test.
The text was updated successfully, but these errors were encountered: