Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement #[bind(...)] for Routable macro #1897

Closed
wants to merge 5 commits into from

Conversation

ranile
Copy link
Member

@ranile ranile commented Jun 2, 2021

Description

This is a different implementation of changes in #1892.
CC: @Diggsey

This PR adds:

  • #[bind(query)]
  • #[bind(not_found)]

There's also some ground work done for query_collection but that isn't exposed right now.

Checklist

  • I have run cargo make pr-flow
  • I have reviewed my own code
  • I have added tests

@github-actions
Copy link

github-actions bot commented Jun 2, 2021

Visit the preview URL for this PR (updated for commit 5f74fc7):

https://yew-rs--pr1897-router-binds-81iclyz7.web.app

(expires Wed, 09 Jun 2021 19:47:11 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Also parse query and remove serde
Co-authored-by: Luke Chu <37006668+lukechu10@users.noreply.github.com>
@ranile
Copy link
Member Author

ranile commented Jun 5, 2021

Closing in favor of #1892

@ranile ranile closed this Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants