Giter Site home page Giter Site logo

Comments (11)

gerardtoconnor avatar gerardtoconnor commented on May 22, 2024 1

My statement still stands, don't mind me ;)

from saturn.

TWith2Sugars avatar TWith2Sugars commented on May 22, 2024 1

well...., I think I'll still give it a shot at the scope level anyway :) .

from saturn.

Krzysztof-Cieslak avatar Krzysztof-Cieslak commented on May 22, 2024 1

Implemented in 756a3ab

from saturn.

Krzysztof-Cieslak avatar Krzysztof-Cieslak commented on May 22, 2024

TBF, I'm not entirely sure why it's not implemented... Probably I've hit some problems with type system (scope implementation is bit hacky). But anyway, from top of my head, it should be fairly similar to other format function implementations in Router.fs - using addRouteF helper function.

from saturn.

TWith2Sugars avatar TWith2Sugars commented on May 22, 2024

I had an attempt before by following forward which I then found used subRoute and turns out subRouteF doesn't make sense.

I'll have another try and see if I can get around it.

from saturn.

Krzysztof-Cieslak avatar Krzysztof-Cieslak commented on May 22, 2024

I'm not sure if I 100% agree with @gerardtoconnor about this :D

from saturn.

gerardtoconnor avatar gerardtoconnor commented on May 22, 2024

Im no phoenix / Saturn expert so dont mind me!

from saturn.

Krzysztof-Cieslak avatar Krzysztof-Cieslak commented on May 22, 2024

Oh, that has nothing really to do with Phoenix nor Saturn... I think

from saturn.

Krzysztof-Cieslak avatar Krzysztof-Cieslak commented on May 22, 2024

Anyway, I believe that I've accidentally implemented fowardf adding some stuff to controller today - https://github.com/SaturnFramework/Saturn/blob/master/src/Saturn/Controller.fs#L68

from saturn.

TWith2Sugars avatar TWith2Sugars commented on May 22, 2024

Well looks like subroutef now exists, I'll wait until it's released and base my attempt around that.

from saturn.

TWith2Sugars avatar TWith2Sugars commented on May 22, 2024

Thanks for doing this, I was getting no where with it.

from saturn.

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.