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

Made WebParamAttribute public to allow rest introspection #2250

Merged
merged 1 commit into from
Jan 12, 2019

Conversation

burner
Copy link
Contributor

@burner burner commented Jan 10, 2019

I'm currently building a angular service generator.
This is done by introspecting rest interfaces.
To get the parameter names right, it needs to look at the UDAs, and more
specifically at WebParamAttribute.

ParameterKind origin;
/// Parameter name
/// Parameter name (Server side)
Copy link
Member

Choose a reason for hiding this comment

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

What about "function parameter name" to make this even more clear?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will do

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@s-ludwig fixed

I'm currently building a angular service generator.
This is done by introspecting rest interfaces.
To get the parameter names right, it needs to look at the UDAs, and more
specifically at WebParamAttribute.

* Sönke remarks worked in
@burner burner force-pushed the WebParamAttribute_public branch from 026b970 to 904a8c6 Compare January 12, 2019 12:27
@burner
Copy link
Contributor Author

burner commented Jan 12, 2019

@s-ludwig thank you

@dlang-bot dlang-bot merged commit 763a83a into vibe-d:master Jan 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants