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
Description:
Currently, the user field is typed as ObjectId. Add support for custom ID types (Numbers, UUIDs, Strings) to accommodate different user identification systems.
Acceptance Criteria:
Plugin option userIdType is added, accepting ObjectId, String, Number, etc.
The reaction schema's user field type changes based on this option.
All methods properly handle the specified ID type.
TypeScript definitions are updated to support the generic type.
Feature: Support Custom ID Types Beyond ObjectId
Description:
Currently, the
userfield is typed asObjectId. Add support for custom ID types (Numbers, UUIDs, Strings) to accommodate different user identification systems.Acceptance Criteria:
userIdTypeis added, acceptingObjectId,String,Number, etc.userfield type changes based on this option.