Skip to content

model: Clarify the purpose of model.NameValidationScheme - #765

Merged
bwplotka merged 1 commit into
mainfrom
owilliams/validationdoc
Mar 4, 2025
Merged

bwplotka merged 1 commit into
mainfrom
owilliams/validationdoc

Conversation

@ywwg

@ywwg ywwg commented Mar 4, 2025

Copy link
Copy Markdown
Member

There is a lot of confusion around this global variable. Clarify that it is meant to indicate that a project is aware of UTF-8 support, and that those projects should have their own flags to control validation mode.

@bwplotka bwplotka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

I would suggest stronger words around deprecation, plus some historical context. WDYT?

Comment thread model/metric.go Resolved

@bwplotka bwplotka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

Comment thread model/metric.go Resolved
Comment thread model/metric.go Resolved
@ywwg
ywwg force-pushed the owilliams/validationdoc branch from 9499498 to f66f612 Compare March 4, 2025 17:20
Comment thread model/metric.go Resolved
@ywwg
ywwg force-pushed the owilliams/validationdoc branch 2 times, most recently from e73f2be to 29ac4bf Compare March 4, 2025 17:27
There is a lot of confusion around this global variable.
Clarify that it is meant to indicate that a project is aware of UTF-8 support, and that those projects should have their own flags to control validation mode.

Signed-off-by: Owen Williams <owen.williams@grafana.com>
@ywwg
ywwg force-pushed the owilliams/validationdoc branch from 29ac4bf to e21cfda Compare March 4, 2025 17:29
@bwplotka
bwplotka merged commit 6b9636c into main Mar 4, 2025
@bwplotka
bwplotka deleted the owilliams/validationdoc branch March 4, 2025 19:44
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.

3 participants