Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: documentation for parameters in Repository, DataSource, EntityManager query methods #10848

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vlahovivan
Copy link

Description of change

Added documentation for parameters in query methods of Repository, DataSource, and EntityManager. Without this addition, it is not even obvious this option exists, which could pose a serious risk of SQL injection attacks if used incorrectly.

This has already caused some confusion, see #881

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • npm run format to apply prettier formatting
  • npm run test passes with this change
  • This pull request links relevant issues as Fixes #0000
  • There are new or updated unit tests validating the change - N/A
  • Documentation has been updated to reflect this change
  • The new commits follow conventions explained in CONTRIBUTING.md

@vlahovivan vlahovivan changed the title Documentation for parameters in query methods docs: documentation for parameters in Repository, DataSource, EntityManager query methods Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant