Skip to content

Conversation

@anatol-sialitski
Copy link
Contributor

No description provided.

@anatol-sialitski
Copy link
Contributor Author

@copilot

@anatol-sialitski anatol-sialitski linked an issue Jan 19, 2026 that may be closed by this pull request
Copy link

Copilot AI commented Jan 19, 2026

@anatol-sialitski I've opened a new pull request, #4239, to work on those changes. Once the pull request is ready, I'll request review from you.

Comment on lines 33 to 35
getDefaultValueFromConfig(): Value;

getRawDefaultFromConfig(): unknown;
Copy link
Member

Choose a reason for hiding this comment

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

It shouldn't matter where default value is coming from, so I suggest calling it simply getDefaultValue and getRawDefaultValue

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I do not agree. That is a raw value which can be computed later. For instance, for the instant type, we can use a now expression as a default value, and that expression will be computed to an ISO string.

@anatol-sialitski anatol-sialitski merged commit 202c625 into yaml-schema Jan 19, 2026
5 checks passed
@anatol-sialitski anatol-sialitski deleted the issue-4234 branch January 19, 2026 16:05
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.

compute defaultValue on client-side

4 participants