dev-adventures-realworld icon indicating copy to clipboard operation
dev-adventures-realworld copied to clipboard

"id" "createdAt" "updatedAt" not returned

Open anishkny opened this issue 6 years ago • 6 comments

See: https://github.com/gothinkster/realworld/issues/444

anishkny avatar Nov 28 '19 17:11 anishkny

Thank you. I'll fix that.

dnikolovv avatar Nov 28 '19 17:11 dnikolovv

@anishkny I'm looking at https://github.com/gothinkster/realworld/tree/master/api and can not find this fields in user response documentation. If we need this fields in backend - can we specify them in api documentation. Because not only this api do not return this fields for user. Thank you

dmytrohridin avatar Jan 27 '20 08:01 dmytrohridin

Not on user, just on article and comment.

anishkny avatar Jan 27 '20 15:01 anishkny

oh, okay because in issue seems described Register User action

dmytrohridin avatar Jan 27 '20 15:01 dmytrohridin

my bad, you are correct - the issue does seem to talk about id, createdAt, updatedAt on user object. This is a discrepancy between API docs and production API

anishkny avatar Jan 27 '20 17:01 anishkny

so do we need this fields in user or not? because if yes - all backend repositories should be updated I believe 😃

dmytrohridin avatar Jan 28 '20 08:01 dmytrohridin