Skip to content

Conversation

@Baarsgaard
Copy link
Collaborator

As we agreed on in the last weekly meeting.
The list of valid contactpoint.type inputs is a moving target which inhibits users unnecessarily.

The field is required according to the HTTP API DOCS hence I opted to add a MinLength=1 validation and remove omitEmpty

The list of valid contactpoints is a moving target which inhibits users unnecessarily
@github-actions github-actions bot added documentation Issues relating to documentation, missing, non-clear etc. chore labels Mar 13, 2025
@Baarsgaard Baarsgaard marked this pull request as ready for review March 13, 2025 18:47
@Baarsgaard Baarsgaard changed the title chore: Remove enum validaiton of contactpoint type chore: Remove enum validation of contactpoint type Mar 14, 2025
@weisdd weisdd added this pull request to the merge queue Mar 14, 2025
Merged via the queue into grafana:master with commit 69db206 Mar 14, 2025
15 checks passed
@Baarsgaard Baarsgaard deleted the chore_remove_contactpoint_type_validation branch March 14, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore documentation Issues relating to documentation, missing, non-clear etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants