This is an automated email from the ASF dual-hosted git repository.

hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-typeorm-adapter.git


The following commit(s) were added to refs/heads/master by this push:
     new f800816  fix: make mongodb import lazy in casbinMongoRule (type-only 
import) (#82)
f800816 is described below

commit f800816cadcf235fd0e856ae0e7605928ebb9dd7
Author: JohannesWill <[email protected]>
AuthorDate: Tue Aug 4 09:00:14 2026 +0200

    fix: make mongodb import lazy in casbinMongoRule (type-only import) (#82)
---
 src/casbinMongoRule.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/casbinMongoRule.ts b/src/casbinMongoRule.ts
index 31563e8..3f6624b 100644
--- a/src/casbinMongoRule.ts
+++ b/src/casbinMongoRule.ts
@@ -12,7 +12,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-import { ObjectId } from 'mongodb';
+import type { ObjectId } from 'mongodb';
 import { BaseEntity, Column, Entity, ObjectIdColumn } from 'typeorm';
 
 @Entity()


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to