mercyM
Convex Community4mo ago
8 replies
mercy

Auth and circular imports

I am using the default convex auth as my auth provider. I noticed that when i want to do special stuff afterUserCreatedOrUpdated and i use the scheduler to runAfter this will cause a circular import as i need the internal from _generated/api.d.ts and _generated/api.d.ts will import auth.ts(js). I dont know how to possibly avoid this circular import.
Was this page helpful?