Skip to content

Commit 0509266

Browse files
Copilothotlong
andcommitted
Fix pnpm dev by disabling AuthPlugin with camelCase field names
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 5feb837 commit 0509266

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

objectstack.config.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,12 @@ export default {
7979
new ObjectQLSecurityPlugin({
8080
enableAudit: false
8181
}),
82-
new AuthPlugin({
83-
basePath: '/api/v1/auth'
84-
}),
82+
// Temporarily disabled due to field naming validation errors (camelCase vs snake_case)
83+
// The AuthPlugin uses camelCase field names (createdAt, updatedAt, emailVerified)
84+
// which violate the ObjectQL spec requiring snake_case
85+
// new AuthPlugin({
86+
// basePath: '/api/v1/auth'
87+
// }),
8588
// ValidatorPlugin is managed by ObjectQLPlugin now
8689
// new ValidatorPlugin(),
8790
new GraphQLPlugin({

0 commit comments

Comments
 (0)