Closed BenoitDuffez closed 1 year ago
The API has SearchUserOptions with query: string, username: string. Then:
SearchUserOptions
query: string, username: string
{query: "X", username: ""}
{"errorMessages":["The query parameter 'username' is not supported in GDPR strict mode."],"errors":{}}
{query: "X", username: null}
{query: "X"}
Node 18 with TypeScript.
Fixed in TypeScript @types repo, had nothing to do with this repo.
The API has
SearchUserOptions
withquery: string, username: string
.Then:
{query: "X", username: ""}
=> API rejects with{"errorMessages":["The query parameter 'username' is not supported in GDPR strict mode."],"errors":{}}
{query: "X", username: null}
or{query: "X"}
=> rejected at compile time because it doesn't match theSearchUserOptions
type.Node 18 with TypeScript.