Comments (4)
The second sentence of the conclusion, right after the discussion of the retrieve
route, says:
Ensure that all of your routes are mounted and test your application.
Did you read this, and if so, did you feel that it wasn't enough?
from rocket.
I tend to be someone that tries to figure it out on my own before I look at the answer, so it didn't bother me that it wasn't explicit. However, I did think I might have missed something when there wasn't an example.
Rust in general is focused on beginner friendliness, web is one of the first things beginners try to do, and there is a very good chance Rocket becomes the beginner web framework of choice....so it might be a good idea to include it (plus, it's one of those things people will keep reporting on your issue tracker).
I'd submit a PR, but I'm can't seem to find the source for the website.
from rocket.
I'm a beginner but I don't think that this is really necessary. Rocket has good documentation and when I walk through its beautiful website, which is the first thing I did, it's obvious to me that every new route has to be mounted separately. It's like writing a function and expecting it to do it's thing without actually calling it. But that's just me.
from rocket.
In hindsight I think a change in the documentation is not really needed. I fixed my problem really quickly and think other people will have the same thing.
from rocket.
Related Issues (20)
- Responder enums not serializing like expected HOT 1
- FileServer can serve pre-gzipped content if it exists on the filesystem HOT 1
- Cookies aren't read by get methods but it exists in the browser HOT 2
- HTTP3/QUIC support HOT 15
- Add HTMLStream HOT 5
- cookie removal and Microsoft Edge HOT 7
- Inject script to auto-reload browser when Rocket restarts
- Rocket App Hangs HOT 5
- DefaultListener::bindable() isnβt usable HOT 8
- Allow routes that match any method HOT 4
- Hyper and Rocket disagreeing on validity of URL HOT 3
- Allow from form macro to work on structs with range HOT 4
- Clippy Lint w/ FromForm derive HOT 7
- Possible Incompleteness HOT 1
- Possible Incompleteness HOT 1
- doc: change `&ContentType` with `&Accept` in the list of implementations of `FromRequest` HOT 1
- [Feature]: Enhanced State Mutation for Effortless Handling of Shared Resources HOT 5
- Guide navigation causes relative links inside articles to 404 HOT 1
- Redirection to a route which takes a vector parameter results in an error HOT 1
- Allow users to create of Data<'r> objects HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocket.