Skip to content

[fix _examples] response.timestamp not appear in correct request. - #1696

Merged
kataras merged 2 commits into
kataras:masterfrom
cainiaoDJ:master
Jan 9, 2021
Merged

kataras merged 2 commits into
kataras:masterfrom
cainiaoDJ:master

Conversation

@cainiaoDJ

@cainiaoDJ cainiaoDJ commented Dec 29, 2020 •

Copy link
Copy Markdown
Contributor

We'd love to see more contributions

issue #1695

@cainiaoDJ
cainiaoDJ requested a review from kataras as a code owner December 29, 2020 08:37
@CLAassistant

CLAassistant commented Dec 29, 2020 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@kataras kataras left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Hello @cainiaoDJ ,

Thanks for the pull request!
You need to make changes before I can push that though.
The issue was that the *response implemented the Preflight interface but the example returned just a response value (no pointer) from the method handler, the rest of the changes are not actual helping, the opposite I could say. Why you cast the response with (*r)? Please remove unnecessary code and thanks for your contribution to the Iris Web Framework.

Happy new year!

@kataras kataras left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

LGTM

@kataras
kataras merged commit cd1f82a into kataras:master Jan 9, 2021
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