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

#133: fixed the bug that the createdAt field of a reply is undefined #136

Merged
merged 1 commit into from
Aug 29, 2018

Conversation

changhc
Copy link
Contributor

@changhc changhc commented Aug 26, 2018

Fixed #133.
Note that here I followed the design for CurrentReply and used the createdAt field of ReplyConnection, i.e. the time a reply is created under an article no matter it's a brand new reply or a quote.

@changhc
Copy link
Contributor Author

changhc commented Aug 26, 2018

...I forgot to update the snapshots orz

@coveralls
Copy link

Coverage Status

Coverage remained the same at 58.781% when pulling 9c81fd9 on 133-reply-createdAt into e79f1e4 on master.

},
createdAt: '2017-11-15T08:08:08.782Z',
Copy link
Member

Choose a reason for hiding this comment

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

I particularly like this part when you added createdAt to both articleReply and reply to the fixture in order to capture the behavior that we selected articleReply's time to display. Very considerate. 👍

Copy link
Member

@MrOrz MrOrz left a comment

Choose a reason for hiding this comment

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

LGTM 👍 👍 👍

@MrOrz MrOrz merged commit 07b4639 into master Aug 29, 2018
@MrOrz MrOrz deleted the 133-reply-createdAt branch August 29, 2018 05:24
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

3 participants