Skip to content

feat: add smart type conversion for Object[] parameters#44

Merged
hsluoyz merged 7 commits into
apache:masterfrom
FAUST-BENCHOU:fix/diff-between-rust-and-java
Sep 9, 2025
Merged

feat: add smart type conversion for Object[] parameters#44
hsluoyz merged 7 commits into
apache:masterfrom
FAUST-BENCHOU:fix/diff-between-rust-and-java

Conversation

@FAUST-BENCHOU

Copy link
Copy Markdown
Contributor

Fix : apache/casbin#1536

Java has same proplem.Relative solution:apache/casbin-go-cli#21

@hsluoyz

hsluoyz commented Sep 8, 2025

Copy link
Copy Markdown
Member

@tangyang9464 @imp2002 please review

@tangyang9464

Copy link
Copy Markdown

@FAUST-BENCHOU Could you add some tests

@FAUST-BENCHOU

FAUST-BENCHOU commented Sep 8, 2025

Copy link
Copy Markdown
Contributor Author

see src/test/java/org/casbin/ClientTest.java and new files in package example

Comment thread src/main/java/org/casbin/CommandExecutor.java Outdated
Comment thread examples/string_vs_integer_model.conf Outdated
@hsluoyz hsluoyz merged commit f05dfad into apache:master Sep 9, 2025
2 of 3 checks passed
@github-actions

github-actions Bot commented Sep 9, 2025

Copy link
Copy Markdown

🎉 This PR is included in version 1.17.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Question] Why Golang and Rust have different result

3 participants