Replace govaluate with expr for expression evaluation#1686
Replace govaluate with expr for expression evaluation#1686
Conversation
|
|
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
…operator conversion to eval function Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
|
@copilot fix: |
…comments Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
... Fixed in commit 25e24a4:
All linting issues should now be resolved. |
|
@copilot fix: |
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
... Fixed in commit b1b2782. The issue was an extra blank line between third-party imports. According to goimports, all third-party imports should be grouped together without blank lines separating them. |
|
@copilot fix: |
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
... Fixed in commit 322d864. The goimports convention for this repo requires external third-party packages (expr-lang) to be in a separate group from internal casbin packages, with a blank line separating them. |
Benchmark ComparisonComparing base branch ( 🤖 This comment will be automatically updated with the latest benchmark results. |
Migration from govaluate to expr - COMPLETE
Summary
Successfully migrated from govaluate to expr library with full backward compatibility. All existing tests pass, ABAC/RBAC models work correctly, and the migration includes automatic syntax conversion for compatibility.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.