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

fix(opts): Adding check to prevent calls on nil wherer or joiner #99

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

Jacobbrewer1
Copy link
Owner

Describe your changes

This pull request includes changes to the joiner.go and wherer.go files to improve the robustness of the appendJoin and appendWhere functions by adding nil checks.

Improvements to function robustness:

  • joiner.go: Added a nil check for the Joiner interface in the appendJoin function to prevent potential nil pointer dereferences.
  • wherer.go: Added a nil check for the Wherer interface in the appendWhere function to prevent potential nil pointer dereferences.

@Jacobbrewer1 Jacobbrewer1 enabled auto-merge (squash) January 22, 2025 14:14
@Jacobbrewer1 Jacobbrewer1 merged commit 53e78e8 into main Jan 22, 2025
6 checks passed
@Jacobbrewer1 Jacobbrewer1 deleted the fix/nil-where-join branch January 22, 2025 14:15
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.

1 participant