Closed AnkitSiva closed 2 weeks ago
Thanks @AnkitSiva!
I can see this argument... At this point in time, it's probably better for us to be laxer in our validation versus overly strict as we gain more "real world" use. So agreed.
as part of this, also making sure session_id
is not required. we want to be careful about what we require...
This is again a small, backwards-compatible change so I am not writing up the full RFC for this. The
query_id
field is required in the current schema. However, the scope of UBI is broader than only tracking the behavior of users after a search is performed. Indeed, the demo tracks user data before searches and writes an empty query ID to the index. This PR fixes that antipattern of a user writing an empty value to a required field.Fixes this issue