#route's display implementation must be parsable by FromStr

1 messages · Page 1 of 1 (latest)

astral osprey
#

I have

pub async fn my_users(params: MyUsersParams) -> Result<Vec<User>, ServerFnError> {

All I want to do is pull out a page parameter from the get parameter, how do I do that without getting that error?

astral osprey
#

OK, this error seems to happen out of the box from the raw dx init app?

subtle prairie
#

That error is related to the router, not your server functions

#

What does your router look like and what route are you serving your app on?