Coder Social home page Coder Social logo

Comments (6)

hishamco avatar hishamco commented on August 15, 2024 1

I think it should be

TemplateContext.GlobalMemberAccessStrategy.Register<JObject, object>((source, name) => source[name]);

/cc @sebastienros

from fluid.

hishamco avatar hishamco commented on August 15, 2024

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.

quasipolynomial avatar quasipolynomial commented on August 15, 2024

Nuget Pkg: fluid.core
Version: 1.0.0-beta-9446

And extension appears to be: Fluid.MemberAccessStrategyExtensions

from fluid.

hishamco avatar hishamco commented on August 15, 2024

Can you check the source and give me the link

from fluid.

quasipolynomial avatar quasipolynomial commented on August 15, 2024

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.

tgrandgent avatar tgrandgent commented on August 15, 2024

This public API was changed in f478f99. README.md should be updated to reflect this.

from fluid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.