这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@mt35-rs
Copy link
Contributor

@mt35-rs mt35-rs commented Nov 30, 2022

This propagates various router properties (where possible) and then uses those properties (specifically schemaPath)
when generating error messages. This should address issue #79.

@mtiller
Copy link
Contributor

mtiller commented Dec 4, 2022

@danielgtaylor Do you want me to reimplement this by fetching the Router from Context?

@danielgtaylor
Copy link
Owner

@mtiller I think that would be great as it's a less intrusive change, thanks!

@mtiller
Copy link
Contributor

mtiller commented Dec 6, 2022

@danielgtaylor OK, I think this is a much cleaner diff now.

@mtiller
Copy link
Contributor

mtiller commented Jan 3, 2023

Is there anything you want me to do before merging this? I'm still seeing issues related to schemas for generics that I'd like to fix. But ideally I'd like to build that on top of this PR.

Copy link
Owner

@danielgtaylor danielgtaylor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@danielgtaylor
Copy link
Owner

Sorry, this got away from me during the holidays, thank you for the contribution! 👍

@danielgtaylor danielgtaylor merged commit a312f61 into danielgtaylor:main Jan 5, 2023
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.

3 participants