Skip to content

Conversation

@dlo
Copy link

@dlo dlo commented Aug 14, 2025

It's helpful to see when the user actually signed up, versus just when the user was imported into Clerk. This change addresses this by allowing the createdAt value to be optionally provided in users.json. This parameter is already supported by the createUser function, so all I did was add the additional parameter to the zod schema and carry it over to the function call.

I've added a usage example in the sample file as well.

@dlo dlo changed the title add createdAt support add support for importing createdAt Aug 14, 2025
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.

1 participant