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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor and add timestamp fields #121

Merged
merged 20 commits into from Jun 13, 2019
Merged

Refactor and add timestamp fields #121

merged 20 commits into from Jun 13, 2019

Conversation

philippschulte
Copy link
Member

馃帀this closes #117.

Change data type from string to time of all timestamp fields.

fix #117
Change data type from string to time of all timestamp fields.

fix #117
Add support for created_at, updated_at, and deleted_at fields.
Add support for created_at, updated_at, and deleted_at fields.
Add support for created_at, updated_at, and deleted_at fields.
@trentrosenbaum trentrosenbaum self-requested a review June 12, 2019 10:35
Copy link
Contributor

@trentrosenbaum trentrosenbaum left a comment

Choose a reason for hiding this comment

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

Pleased to see that the structs are consistent. I have added comments to get the build working. The only test that even tries to confirm the three fields is the service_test.go and that is really just saying are they populated or not. They do not confirm the format. This is understandable as dates can change if the fixtures need to be repopulated.

Overall it looks ok and once the changes are complete then the tests will pass.

fastly/service.go Show resolved Hide resolved
fastly/service.go Show resolved Hide resolved
fastly/event_logs.go Outdated Show resolved Hide resolved
Change data type from string to time of all timestamp fields.

fix #117
Change data type from string to time of all timestamp fields.

fix #117
Change data type from string to time of all timestamp fields.

fix #117
Add support for created_at, updated_at, and deleted_at fields.
Change data type from string to time of created_at field

fix #117
Add support for created_at, updated_at, and deleted_at fields.
Add support for created_at, updated_at, and deleted_at fields.
Add support for created_at, updated_at, and deleted_at fields.
Add support for created_at, updated_at, and deleted_at fields.
Add support for created_at, updated_at, and deleted_at fields.
Add support for created_at, updated_at, and deleted_at fields.
Copy link
Member

@phamann phamann left a comment

Choose a reason for hiding this comment

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

馃憤 LGTM

Change data type from string to time of all timestamp fields.

fix #117
Add support for created_at, updated_at, and deleted_at fields.
Change data type from string to time of all timestamp fields.

fix #117
Add support for created_at, updated_at, and deleted_at fields.
@philippschulte philippschulte merged commit 035d337 into fastly:master Jun 13, 2019
@philippschulte philippschulte deleted the refactor-timestamp-fields branch June 13, 2019 23:06
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.

CreatedAt, UpdatedAt and DeleteAt types are inconsistent across the code
3 participants