Skip to content

How can I create a route model binding with v6 ? #4524

Answered by RomainLanz
franckDev21 asked this question in Help
Discussion options

You must be logged in to vote

Hi?

The route model binding package has not been migrated to work on AdonisJS 6 yet.
But nothing stops you from writing exactly the route you shared and handling the data fetching yourself. It is like 3 lines of code.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@franckDev21
Comment options

Answer selected by franckDev21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants