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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update Route docs validation to allow more types #6942

Merged
merged 3 commits into from
Feb 8, 2024
Merged

Conversation

sjrl
Copy link
Contributor

@sjrl sjrl commented Feb 8, 2024

Related Issues

  • fixes #issue-number

Proposed Changes:

The types of meta data values accepted by RouteDocuments was unecessarily restricted to string types. This causes validation errors (for example when loading from a yaml file) if a user tries to use a boolean type for example.

How did you test it?

added new unit tests showing that the sorting works with boolean and int types

Notes for the reviewer

Checklist

@sjrl sjrl requested a review from a team as a code owner February 8, 2024 10:31
@sjrl sjrl requested review from vblagoje and removed request for a team February 8, 2024 10:31
@anakin87 anakin87 requested review from anakin87 and removed request for vblagoje February 8, 2024 11:16
Copy link
Member

@anakin87 anakin87 left a comment

Choose a reason for hiding this comment

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

Looks good...

Can you add a release note?
(for some reasons, the workflow that checks that is not working)

@sjrl sjrl requested a review from a team as a code owner February 8, 2024 11:22
@sjrl sjrl requested review from dfokina and removed request for a team February 8, 2024 11:22
@anakin87 anakin87 merged commit d794d92 into v1.x Feb 8, 2024
13 of 14 checks passed
@anakin87 anakin87 deleted the route-docs-fix branch February 8, 2024 11:23
anakin87 added a commit that referenced this pull request Feb 8, 2024
* Update route docs to accept more meta data types

* Release notes

* Update route-documents-metadata-values-types-7b6bdbc916d2624b.yaml

---------

Co-authored-by: Stefano Fiorucci <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants