Code Monkey home page Code Monkey logo

Comments (7)

nurugger07 avatar nurugger07 commented on June 30, 2024

I'm thinking that removing the need for fetch_session/1 is the way to go. Currently, it isn't intuitive to have to call it manually. I can look at this

from plug.

josevalim avatar josevalim commented on June 30, 2024

@nurugger07 let's hold on this though for now. Today you need to fetch everything in plug, so theoretically it makes sense, but it may be confusing in phoenix because developers are both plugging it explicitly and then needing to fetch it. @chrismccord wants to try some approaches on Phoenix, let's see how it goes and act accordingly here. :) Thanks!

from plug.

nurugger07 avatar nurugger07 commented on June 30, 2024

@josevalim no problem. I was just going to look into for now and see what the repercussions would be. I'll update the docs in Phoenix for now :)

from plug.

jeregrine avatar jeregrine commented on June 30, 2024

Might be useful to make a crazy simple plug :fetch_session, for when
phoenix controllers are all plugs.

On Thu, Jul 10, 2014 at 3:08 PM, Johnny Winn [email protected]
wrote:

@josevalim https://github.com/josevalim no problem. I was just going to
look into for now and see what the repercussions would be. I'll update the
docs in Phoenix for now :)

Reply to this email directly or view it on GitHub
#60 (comment).

from plug.

josevalim avatar josevalim commented on June 30, 2024

Exactly @jeregrine ! that's exactly what this bug report is about!

from plug.

jeregrine avatar jeregrine commented on June 30, 2024

Ugh. feel stupid now. :P

On Thu, Jul 10, 2014 at 3:11 PM, José Valim [email protected]
wrote:

Exactly @jeregrine https://github.com/jeregrine ! that's exactly what
this bug report is about!

Reply to this email directly or view it on GitHub
#60 (comment).

from plug.

josevalim avatar josevalim commented on June 30, 2024

We should do the same for fetch_params and friends.

from plug.

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.