10000 fix(codersdk): make codersdk.ProvisionerDaemon.UpdatedAt a codersdk.NullTime by johnstcn · Pull Request #11037 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

fix(codersdk): make codersdk.ProvisionerDaemon.UpdatedAt a codersdk.NullTime #11037

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

Merged
merged 3 commits into from
Dec 5, 2023

Conversation

johnstcn
Copy link
Member
@johnstcn johnstcn commented Dec 5, 2023

Relates to #10676

See discussion in #11033 (comment):

Migrating this to the proper type so it gets marshalled as a string and not a struct in the API.

Copy link
Member
@mtojek mtojek left a comment

Choose a reason for hiding this comment

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

Go for it!

| `provisioners` | array of string | false | | |
| `tags` | object | false | | |
| » `[any property]` | string | false | | |
| `updated_at` | string | false | | |
Copy link
Member

Choose a reason for hiding this comment

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

Seems I was wrong, still string. Maybe we need to look at improving the docs gen for this type. 🤔

Copy link
Member

Choose a reason for hiding this comment

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

Maybe let's leave docs for further improvement and fix API code first 👍

@johnstcn johnstcn merged commit a235644 into main Dec 5, 2023
@johnstcn johnstcn deleted the cj/provisionerd-updated-at-nulltime branch December 5, 2023 15:40
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0