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
I'm using the latest @zenstackhq/server/next package, which exports the NextRequestHandler.
I get this error while running the server:
Error: In route /api/model/[...path] a param property was accessed directly with `params.path`. `params` should be awaited before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`.
Probably NextRequestHandler should be updated to await the params props before being accessed. AFAIK, I couldn't find a way to await it myself.