Giter Club home page Giter Club logo

Comments (3)

wjlow avatar wjlow commented on September 27, 2024

What endpoint is most appropriate to not fill in?

I think GET movie is appropriate to not fill in. It's the first endpoint the students work on.

How can we indicate that we have already filled in the wiring, and point curious students in the right direction?

I think updating the README.md that's in each urls package to reflect this is good. I plan to point students to the README.md file often and make sure they know that's what they should refer to for directions.

Additional scope

Can we include the use of OptionalEnrichedMatcher in AppRoutes as part of this too? So time can be spent on explaining it, rather than having students copy it down. It was initially intended to just show that http4s has useful features like query parameter matching, and I did not expect it to be something that people would remember how to use by the end of the course without referring to the docs.

case GET -> Root / "movies" / LongVar(id) :? OptionalEnrichedMatcher(maybeEnriched) =>
      if (maybeEnriched.contains(true)) fetchEnrichedMovieHandler(id) else fetchMovieHandler(id)

from applied-scala.

millyrowboat avatar millyrowboat commented on September 27, 2024

I think GET movie is appropriate to not fill in. It's the first endpoint the students work on.

👍 agree

How can we indicate that we have already filled in the wiring, and point curious students in the right direction?

I wonder if we can have two files, one filled out we use in course, and one not filled out that people can do themselves? That also might be a nice pattern to be like "here's some extra work to test your knowledge if you want"

But yes also READMEs should be useful and up to date

from applied-scala.

wjlow avatar wjlow commented on September 27, 2024

I updated the comments and the README to communicate these things accurately

from applied-scala.

Related Issues (13)

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.