Skip to content

Additional field validations #44

Answered by jbguerraz
MarcPer asked this question in Ideas
Discussion options

You must be logged in to vote

Discussed on Slack.
Implementation idea:

s1 := filter.NewSelector().SetDimension("countryName").SetValue("France")
if s1.Err != nil {
...
}

Err being a member of the filter struct
maybe having this buffer a LIFO
so you get only the latest error
otherwhise, a slice of err.

We also agreed that we can let Druid manage the validations for now, if at some point there is more demand for such early error catching we could reconsider it.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jbguerraz
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #42 on May 21, 2021 09:14.