Coder Social home page Coder Social logo

Comments (6)

ReedCopsey avatar ReedCopsey commented on June 29, 2024 1

Should be fixed in 1.0.5 - up on NuGet

https://www.nuget.org/packages/FSharp.ViewModule.Core/

from fsharp.viewmodule.

brianberns avatar brianberns commented on June 29, 2024

I'm having exactly the same issue.

from fsharp.viewmodule.

ReedCopsey avatar ReedCopsey commented on June 29, 2024

Thanks for the detailed report - I've managed to duplicate - looking at how to correct this.

It appears that the redirection for C# support in EventViewModel wasn't done quite right - it works for the commands, but not for anything else. I should be able to rework how this functions, but I'm still trying to figure out where all it needs modifications.

from fsharp.viewmodule.

ReedCopsey avatar ReedCopsey commented on June 29, 2024

@anton-pt Just in case you have any input... The issue is that EventViewModelBase redefines Factory, and shadows the base class type's property, which in turn causes things to go haywire at runtime when the extension methods (which expect the base types) are used...

from fsharp.viewmodule.

FuNkNaN avatar FuNkNaN commented on June 29, 2024

Nice job juggling those factory types. Great open source!

from fsharp.viewmodule.

ReedCopsey avatar ReedCopsey commented on June 29, 2024

@FuNkNaN TBH, I'm not exactly happy with this approach, but it works for now, at least. I'd like to come up with a better way to handle this, but not sure how to make it work given the order of construction.

from fsharp.viewmodule.

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.