ApexKit icon indicating copy to clipboard operation
ApexKit copied to clipboard

Feat/add tuple

Open codefriar opened this issue 2 years ago • 3 comments

Summary by CodeRabbit

  • New Feature: Introduced a new Tuple class to provide key-value pair functionality similar to Map, enhancing support for various primitive data types.
  • Refactor: Updated method signatures across multiple classes for explicit type declarations, improving code clarity and maintainability.
  • Chore: Modified GitHub Actions workflow file inputs and conditions for better CI/CD process control.
  • Style: Improved documentation by updating return types and descriptions of several methods.
  • Chore: Updated .gitignore and security rules in pmd/ruleset.xml for better repository management.

codefriar avatar Oct 18 '23 01:10 codefriar

Image description CodeRabbit

Walkthrough

This pull request introduces a new Tuple class to provide key-value pair functionality in Apex, updates GitHub Actions workflow file, enhances code clarity by updating method return types across multiple classes, removes a file from the repository, and adds security rule exclusions in an XML file.

Changes

Files Summary
Tuple.cls, Tuple.cls-meta.xml, docs/Tuple.md, docs/home.md Introduced a new Tuple class that acts as a polyfill for the Map<String, Object> data type in Apex. It provides constructors, fields, and methods to work with various primitive data types.
.github/workflows/ci-pr.yml Updated the GitHub Actions workflow file by modifying inputs for the openai-review-action step and commenting out the Create prerelease scratch org step.
Various docs/*.md files Updated return types and descriptions of several methods across multiple classes for improved code clarity and maintainability.
.gitignore Removed the "pmd/pmd.csv" file from the repository.
pmd/ruleset.xml Added three exclude patterns related to security rules for Apex, preventing specific directories from being analyzed by the security rules.

🐇💻

Code changes here, code changes there,

A Tuple class appears, with much flair.

Workflow tweaks, and types made clear,

Security rules, have no fear.

Celebrate the changes, far and near,

For better code, we all cheer! 🎉🥳


Uplevel your code reviews with CodeRabbit Pro

CodeRabbit Pro

If you like this project, please support us by purchasing the Pro version. The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects.

github-actions[bot] avatar Oct 18 '23 01:10 github-actions[bot]

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (671272e) 95.00% compared to head (56bec3a) 95.00%. Report is 42 commits behind head on main.

:exclamation: Current head 56bec3a differs from pull request most recent head b8a13cd. Consider uploading reports for the commit b8a13cd to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #122   +/-   ##
=======================================
  Coverage   95.00%   95.00%           
=======================================
  Files          32       32           
  Lines        2002     2002           
=======================================
  Hits         1902     1902           
  Misses        100      100           
Flag Coverage Δ
Apex 95.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Oct 20 '23 02:10 codecov[bot]