Skip to content

Conversation

@nflaig
Copy link
Member

@nflaig nflaig commented Mar 29, 2025

Similar #453, clarifies handling of empty arrays, ie. if the value is [] then no filtering should be applied and all validators should be returned. Since this caused interop issues just recently, I think it's worth clarifying this behavior on the spec.
cc @james-prysm @pawanjay176 are you fine with the described behavior?

Copy link
Contributor

@james-prysm james-prysm left a comment

Choose a reason for hiding this comment

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

nice i agree

Copy link

@pawanjay176 pawanjay176 left a comment

Choose a reason for hiding this comment

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

I'm good with this too.
Just to be clear, this isn't the current behaviour in lighthouse. We return a 404 if the list is empty so this will require changes on our side.

Copy link
Contributor

@rolfyone rolfyone left a comment

Choose a reason for hiding this comment

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

LGTM

@nflaig nflaig merged commit 6d3fd4d into master May 2, 2025
3 checks passed
@nflaig nflaig deleted the nflaig/clarify-empty-arrays branch May 2, 2025 08:32
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.

5 participants