You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JSON schema for the user import file is not accurate. Certain fields/properties are marked as required but should be optional.
Reproducing the bug
Create a JSON file. Add contents according to the schema in backend/json_schema/hanko.user_import.json. Try to omit fields that are currently required but shouldbeoptional as suggested by code comments, e.g. user_id or created_at/updated_at for an ImportEntry:
[
{
"emails": [],
}
]
Validate the file using the schema by associating with the backend/json_schema/hanko.user_import.json schema in your IDE or use different validator.
Checklist
Describe the bug
The JSON schema for the user import file is not accurate. Certain fields/properties are marked as required but should be optional.
Reproducing the bug
backend/json_schema/hanko.user_import.json
. Try to omit fields that are currently required but should be optional as suggested by code comments, e.g.user_id
orcreated_at
/updated_at
for anImportEntry
:[ { "emails": [], } ]
backend/json_schema/hanko.user_import.json
schema in your IDE or use different validator.Logs
No response
Configuration
No response
Hanko Version
d5f0bb0
OS Hanko Backend
None
OS Version Hanko Backend
No response
OS
None
OS Version
No response
Browser Version
No response
Environment
None
Additional Context
No response
The text was updated successfully, but these errors were encountered: