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

Add all articles missing endpoints. Fix a bug with local re-exports #73

Merged
merged 1 commit into from Jun 8, 2023

Conversation

LukeMathWalker
Copy link
Owner

We now model all the endpoints under the /articles prefix in the Realworld example.

I've also re-organised the Realworld example to go for the "1 file 1 route handler" model, which makes things a bit more obvious in terms of code organisation.
When doing so, I unveiled a bug in our handling of local glob re-exports (i.e. use internal_module::*): we were adding the name of the source module to the path of the discovered items.
The bug has been fixed, there is a regression test and now everything works as expected.

@LukeMathWalker LukeMathWalker merged commit e6d0eb7 into main Jun 8, 2023
@LukeMathWalker LukeMathWalker deleted the realworld-endpoints branch June 8, 2023 08:33
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.

None yet

1 participant