Comments (6)
I think it should be
TemplateContext.GlobalMemberAccessStrategy.Register<JObject, object>((source, name) => source[name]);
/cc @sebastienros
from fluid.
Seems you are using a wrong signature, I didn't see an extension method similar to what you are using above?!! Could you please refer to what the extension that you are using?
from fluid.
Nuget Pkg: fluid.core
Version: 1.0.0-beta-9446
And extension appears to be: Fluid.MemberAccessStrategyExtensions
from fluid.
Can you check the source and give me the link
from fluid.
Source doesn't have the required signature and link is https://www.nuget.org/packages/Fluid.Core/1.0.0-beta-9446. I am following what the docs state in https://github.com/sebastienros/fluid#using-jsonnet-object-in-models.
from fluid.
This public API was changed in f478f99. README.md should be updated to reflect this.
from fluid.
Related Issues (20)
- Question: Is it possible to use Layout and Sections tags with streams rather than paths HOT 2
- Question: Multiple arguments/parameters for tag HOT 3
- Access root object from template HOT 3
- Include statement circular dependency HOT 8
- Current local date and time not converting to specified timezone HOT 2
- Question: Introspection of parsed template HOT 6
- Question: is this library suited for implement something like Microsoft Guidance?
- {% render "filename" %} with custom extensions HOT 2
- Access properties of dictionary value HOT 1
- Fluid.Tags compatibility method after upgrading to a new version HOT 1
- Question: Update underlying Liquid version HOT 2
- Layout support doesn't seem to work in 2.4.0 HOT 10
- Hope size supports null HOT 1
- Missing fluid compatibilty table and roadmap HOT 1
- Synchronous operations are disallowed
- Fluid prints nothing inside for ..in loop HOT 2
- Make TemplateContext.LocalScope public
- Template not rendering
- Recusive variable resolving
- Include/Render Statement Cache Not Refreshed When File Content Changed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluid.