Skip to content

Conversation

@ahl
Copy link
Collaborator

@ahl ahl commented Dec 6, 2022

This lets us specify an endpoint as deprecated. The alternative path I considered was to use the rust built-in #[deprecated] attribute, but that seemed too cute.

I took the opportunity to simplify some of the serde use.

Copy link
Contributor

@just-be-dev just-be-dev left a comment

Choose a reason for hiding this comment

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

Hell yeah, that was fast. Looks great, thanks for tackling this!

@smklein
Copy link
Contributor

smklein commented Dec 7, 2022

Fixes: #489

@smklein smklein linked an issue Dec 7, 2022 that may be closed by this pull request
@ahl ahl merged commit 2529126 into main Dec 8, 2022
@ahl ahl deleted the deprecated branch December 8, 2022 01:58
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.

Endpoint macro should support deprecated

4 participants